Dynamically reducing Lucee's debugging memory usage

If you have debugging enabled and are using a framework or doing some heavy processing,
the debug logs in memory can get quite large.

You can reduce this by calling the following code any point, either after doing a lot of processing,
or at the start of your code after the initial framework code has run

getPageContext().getDebugger().reset(); // clear logs

If you want to see the size of debugging logs, you can see them using the latest version (1.0.0.7) of my performance analyzer admin plugin (available via the Lucee Administrator)

5 Likes