Changing JVM memory settings on "full" Railo install

62 views
Skip to first unread message

Adam Cameron

unread,
May 31, 2014, 10:20:25 AM5/31/14
to ra...@googlegroups.com
G'day:
And when I say "full", I mean "as opposed to the express edition", you know: the one with the proper installer, and runs as a Windows service.

Anyhow... I want to up the memory available to the JVM. From googling around (and reading stuff on these forums), one should be able to create a [tomcat dir]/bin/setenv.bat with the settings in them, eg:

set JAVA_OPTS="-Xms512M -Xmx512M -XX:MaxPermSize=128m"

And those should be picked up. Seemingly not so.

I've seen other people hacking catalina.bat directly, but that's generally frowned-upon yes?

Or is there some other way of doing it?

Cheers.

-- 
Adam

Pierre-Olivier Chassay

unread,
May 31, 2014, 10:25:12 AM5/31/14
to ra...@googlegroups.com
Hi Adam

If you have on windows with the installer you can go 
Inline image 1


--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/9abad5a2-0d42-4030-8c52-a5ac071c4d0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adam Cameron

unread,
May 31, 2014, 10:32:58 AM5/31/14
to ra...@googlegroups.com
Cool, that's helped. But - just so I understand what this UI is actually doing... where's that info actually being stored?

Thanks for the pointer!

Pierre-Olivier Chassay

unread,
May 31, 2014, 10:44:03 AM5/31/14
to ra...@googlegroups.com
Hi Adam

It's trigger via the railo-tomcat service control link -> C:\railo\tomcat\bin\Railow.exe

The information is stored in your registery 
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\Railo\Parameters\Java

Regards,
PO


--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.

Adam Cameron

unread,
May 31, 2014, 10:48:03 AM5/31/14
to ra...@googlegroups.com
Oh... it's in the registry. Didn't even occur to me that Java / Tomcat sort of stuff would be put in there.

Cheers mate.




On Saturday, 31 May 2014 15:44:03 UTC+1, moo...@googlemail.com wrote:
Hi Adam

Reply all
Reply to author
Forward
0 new messages