Ticket #85 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Change ordering of memory settings on linux initscripts

Reported by: smith@… Owned by: smith@…
Priority: major Milestone: v1.1.0
Component: Raptor (Common) Version: v1.0.0
Keywords: Cc:

Description

Hi,

I've been looking into an issue where raptormuad was failing to run,
logging an exception which ended in java.lang.OutOfMemoryError?: Java
heap space.

This turned out to be because the server had an older Java version
(1.6.0 u4) and it was ignoring the -Xmx parameter.

Strictly speaking the heap size parameter, -Xmx, should come before
the jarfile option in the command line (java [-options] -jar jarfile
[args...]) although it looks like more recent versions are more
permissive (1.6.0 u20 appears to allow this).

So moving the -Xmx switch in /etc/init.d/raptormuad fixed this issue for me:

javaArgs="-DconfigurationFiles?=/opt/raptor/mua/conf/ -Xmx512M -jar

raptor-mua.jar -server"

So for better compatibility this option needs moving for this and the
other start-up scripts.

(Raptor v1 on CentOS 5).

All the best,

Leon

Change History

comment:1 Changed 8 years ago by smith@…

  • Milestone changed from v1.1.0 to v1.0.1

comment:2 Changed 8 years ago by smith@…

  • Component changed from Distribution - RPM to Raptor (Common)

comment:3 Changed 8 years ago by smith@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in v1.0.1

comment:4 Changed 8 years ago by smith@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

Reopening as we apparently only fixed this in the ICA, it's still there in the MUA and Web.

comment:5 Changed 8 years ago by smith@…

  • Milestone changed from v1.0.1 to v1.0.2

comment:6 Changed 7 years ago by smith@…

  • Milestone changed from v1.0.2 to v1.1.0

comment:7 Changed 7 years ago by smith@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Fixed in v1.1.0 (hopefully really this time...)

Note: See TracTickets for help on using tickets.