Author |
Message
|
JohnMichael |
Posted: Wed Dec 05, 2007 6:17 am Post subject: OutOfMemory - Cannot increase jvm Heap Size |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
Hello
My flow which was developed on WindowsXP is working sucessfully on the local system. but the same flow is not working on test environment ie AIX5.3 box. And its throwing "java.OutOfMemoryError".
Many suggested to increase jvm heap size but admin refuses to inc.
as Configurations(RAM) of AIX are far more that the Windows sys.
Boker on AIX5.3 - 6.0.0.3
Broker on Win - 6.0.0.3
Flow dev toolkit - 6.0.0.2
My doubt is - is there any different knd of execution process in AIX comparative to Win which leads to more jvm heap memory occupation?
Or Is there any changes needed while deplying bar in AIX?
And also Core dumps are also generated while we run this flow on AIX.
Can any one suggest me pleas |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Dec 05, 2007 7:06 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Are you getting any abend files on AIX box, if so, please let us know
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 05, 2007 7:09 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
for core dumps or abends, you should open PMR with IBM.
And apply FP5 or 6 for broker, first. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JohnMichael |
Posted: Wed Dec 05, 2007 7:23 am Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
Jeff - We have already raised a PMR but they even advice to increase the Jvm heap but they dint mention any cause for this occurence.
Gaya3 - Regarding the abend files. I am sorry can u plz tell me the location where to search for those files as my admin is not available.
But still i have a doubt - we are trying with the same input even in the test environment but why this error is comming while its not comming in WinXP. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Dec 05, 2007 7:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Your admin doesn't understand the JVMHeap, by the way.
It's got nothing to do with the amount of memory that's available on the system.
It's the amount of memory, from the amount of memory available on the system, that is available to the JVM.
There's a bunch of reasons why the AIX machine could require increasing this when the Windows machine doesn't. Most of them are directly related to what other flows are running in the same EG, and not directly related to what your code is doing.
That said, bad Java code in a JCN could use up lots of memory. And if there are fewer flows running on Windows, then there is more memory available to the JCN code.
Also, the Windows machine could already have an increased JVMHeap. That could explain why it works there. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JohnMichael |
Posted: Wed Dec 05, 2007 7:33 am Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
But Jeff I dont have other flows in my EG.
I have only one broker and one execution group on AIX.
Apart from this flow there is nothing running on the AIX.
but still the same error? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 05, 2007 7:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
JohnMichael wrote: |
still the same error? |
Have you compared heap size on the Windows machine with that on the Unix machine as suggested? It's sounding increasingly like the JVM on Windows is larger than on your Unix box. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JohnMichael |
Posted: Wed Dec 05, 2007 7:38 am Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
yes both are same never modified... |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 05, 2007 7:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
JohnMichael wrote: |
yes both are same never modified... |
So what are they set to? Not the default value on the machine, but the value assigned to the broker in each specific case. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JohnMichael |
Posted: Wed Dec 05, 2007 7:53 am Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
In Win executionGroup-- jvmMinHeapSize - '134217728' (128MB)
jvmMaxHeapSize - '-1'
Same in AIX |
|
Back to top |
|
 |
Gaya3 |
Posted: Wed Dec 05, 2007 8:20 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
If it's abending then the files will be in the mqsi error directory.
Look in to this,
one doubt, is it a fresh Broker install on AIX node.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
JohnMichael |
Posted: Wed Dec 05, 2007 8:51 am Post subject: |
|
|
 Acolyte
Joined: 28 Feb 2007 Posts: 55
|
There is no abend speicied in the syslog
Broker on AIX is not a fresh one. Its created long back. Is ther any issues regarding that. |
|
Back to top |
|
 |
ling_71_99 |
Posted: Wed Dec 05, 2007 10:26 am Post subject: Some useful link for your reference to change max heap size |
|
|
 Novice
Joined: 19 Nov 2007 Posts: 11 Location: Canada
|
|
Back to top |
|
 |
JLRowe |
Posted: Thu Dec 06, 2007 11:07 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
JohnMichael wrote: |
In Win executionGroup-- jvmMinHeapSize - '134217728' (128MB)
jvmMaxHeapSize - '-1'
Same in AIX |
What does -1 mean? - same as minHeapSize??
There are millions of reasons why a heap size on AIX would not be adequate for the same code on Windows.
For a start the AIX JVM is 64 bit, so pointers, ints and chars immediately take up double the space of the same on win32.
Why don't you just increase the heap size. |
|
Back to top |
|
 |
|