Expand my Community achievements bar.

SOLVED

WPP

Avatar

Level 5

any solution?

 

MicrosoftTeams-image.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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"/>

 

David__Garcia_0-1678278913982.png

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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"/>

 

David__Garcia_0-1678278913982.png

 

Avatar

Level 1

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 !!