Location of JVM arguments in Windows version?

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

colin_b
Posts: 4
Joined: Tue Feb 17, 2009 1:51 pm

Location of JVM arguments in Windows version?

Post by colin_b »

Because we're having some problems with the heap space size of the JVM with large mailing lists, we're looking for the location to increase this memory limit.

After searching google / your documentation, two locations are mentioned, namely httpd.sh and core.conf, but the first is for Linux only and the second one (adding jvm-arg-tags) gives the following error because it's resin 3.0 apparently:

"<jvm-arg> is an unexpected tag (parent <server> starts at 12)"

The Windows version of httpd.sh seems to be httpd.exe, but in Notepad++ there are a lot of weird (null) symbols in there and I'm not sure what to edit without messing the file up.

So could anyone tell me exactly which file and which line in the file we have to edit to increase the xms / xmx size limits? Thanks in advance. :)
colin_b
Posts: 4
Joined: Tue Feb 17, 2009 1:51 pm

Post by colin_b »

Ok, I've found a solution myself. For others facing this problem, I did the following: In openemm.py I added the following after line 395 (in 'resinexec'):

Code: Select all

	cmd += ' -Xmx512m'
	cmd += ' -Xms512m'
This increases the max memory of the JVM OpenEMM uses.
Post Reply