WPP | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by david--garcia

in backend serverConf.xml file increase JS memory to 512 or more, nlserver config -reload /restart web module

 

<!-- Configuring the JavaScript interpreter

         maxMB :  Maximum size in megabytes before running the garbage collector Default: 64

         stackSizeKB :  Size of each stack chunk in kilo octets Default: 8 -->

    <javaScript maxMB="64" stackSizeKB="8"/>

 

 

1 reply

david--garcia
david--garciaAccepted solution
Level 10
March 8, 2023

in backend serverConf.xml file increase JS memory to 512 or more, nlserver config -reload /restart web module

 

<!-- Configuring the JavaScript interpreter

         maxMB :  Maximum size in megabytes before running the garbage collector Default: 64

         stackSizeKB :  Size of each stack chunk in kilo octets Default: 8 -->

    <javaScript maxMB="64" stackSizeKB="8"/>

 

 

November 7, 2023

Hi @david--garcia

 

Thanks for your help. I would like to have a deeper undersanding of the error, so let me explain what I understand about your response.

The error occurs since the garbage collector starts its process before the WK execution is finished because the MB that the WK needs is bigger that the maxMB when the garbage collector initiates cleaning cache process. Is that correct ? If you can lead me to a documentation page were this is explained would be perfect.

 

Thanks for your help again !!