[resolved] WordPress bug? - get_permalink (3 posts)

  1. Blutarsky
    Posted 6 years ago #

    I'm debugging a plugin (Google XML sitemaps by A. Brachold) trying to spot the memory allocation problem on large sitemaps.

    As a result I have detected that the problem apparently lies into a call to a WP function:

    $permalink = get_permalink($post->ID);

    The statement above is placed into a loop; on a 1,000 rows (posts) loop, the function, "leaks" some 4MB of memory.

    Is this a well-known behavior or should I open a bug track?

  2. Blutarsky
    Posted 6 years ago #

    I have noticed that two plugins are hooking on get_permalink, so I'm investigating further on

  3. Blutarsky
    Posted 6 years ago #

    Definitely looks like a plugin problem! Will post further investigation

Topic Closed

This topic has been closed to new replies.

About this Topic