How to increase the memory for Lucee Express OSX?

How do you increase the memory for Lucee Express OSX?

It would have been nice to give that option in startup.sh

Thanks for the replies.

That settings should also be in the tomcat/bin/setenv.sh. I’m not at home right now to check, but as far as I remembrer it should be there and work just the same as for other OS.

@marcovth, Could you please check this link. I hope, it’ll more helpful to you.

1 Like

You need to change the JVM settings that Lucee runs within. I’m not a user of Express but this might work…

Look for setenv.sh in your Express installation; for example a typical Linux installation would store it here /opt/tomcat/bin/setenv.sh

Update the JAVA_OPTS environment variable:

export JAVA_OPTS="-Xms64m -Xmx512m";