Author |
Message
|
nmaddisetti |
Posted: Tue Jun 28, 2005 6:39 am Post subject: Out of Memory Exception in FileRead Node |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi all,
I devoloped FileRead node
it is picking up to 10MB size files
for files >10 MB it is giving OutOfMemory Exception
how to increase the JVM size which is used by MB
my environment is Windows2000
Thanks
nmaddisetti |
|
Back to top |
|
 |
JT |
Posted: Tue Jun 28, 2005 7:09 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
You can increase the heap with the following command:
Code: |
mqsichangeproperties brokerName -e executionGroupLabel -o ComIbmJVMManager -n jvmMaxHeapSize -v newSize |
|
|
Back to top |
|
 |
nmaddisetti |
Posted: Fri Jul 01, 2005 11:27 am Post subject: |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi
iam setting JVM size with the given command
but my FileRead node is not reading >10MB messages
can u help me in this regard
this is very urgent for me
Thanks
nmaddisetti |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 01, 2005 11:56 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You probably need to set the heap to be larger than it was by roughly twice to three times as large as the size of your biggest file.
So if you are going to read a 1GB file, and your heap was 1GB, you should increase it to 3 to 4 GB. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
chenulu |
Posted: Sun Jul 03, 2005 8:56 am Post subject: |
|
|
Voyager
Joined: 27 Mar 2002 Posts: 87 Location: Research Triangle Park, NC
|
Hi,
Can you please post the errors you are getting? The FileRead node logs its errors in Documents and Settings\All Users\Application Data\IBM\MBFE\log directory.
Regards, Chenulu |
|
Back to top |
|
 |
nmaddisetti |
Posted: Mon Jul 04, 2005 12:13 pm Post subject: |
|
|
Centurion
Joined: 06 Oct 2004 Posts: 145
|
Hi
it is not writing anything in log file
and when iam running the flow in debug mode
it is giving
java.lang.OutofMemoryError
i increased the JVM Heap size with the following command
c:\>mqsichangeproperties WBRK_BROKER -e default -o ComIbmJVMM
anager -n jvmMaxHeapSize -v 536870912
iam reading 100MB messages
Thanks
nmaddisetti |
|
Back to top |
|
 |
chenulu |
Posted: Mon Jul 04, 2005 5:17 pm Post subject: |
|
|
Voyager
Joined: 27 Mar 2002 Posts: 87 Location: Research Triangle Park, NC
|
Hi,
Can you send me an e-mail with the messageflow project export (as a zip file) along with the sample message.
Regards, Chenulu |
|
Back to top |
|
 |
Ian |
Posted: Mon Jul 11, 2005 6:09 am Post subject: |
|
|
Disciple
Joined: 22 Nov 2002 Posts: 152 Location: London, UK
|
nmaddisetti,
Did you resolve this or did you raise a problem with IBM support ? _________________ Regards, Ian |
|
Back to top |
|
 |
|