ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Out of Memory Exception in FileRead Node

Post new topic  Reply to topic
 Out of Memory Exception in FileRead Node « View previous topic :: View next topic » 
Author Message
nmaddisetti
PostPosted: Tue Jun 28, 2005 6:39 am    Post subject: Out of Memory Exception in FileRead Node Reply with quote

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
View user's profile Send private message
JT
PostPosted: Tue Jun 28, 2005 7:09 am    Post subject: Reply with quote

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
View user's profile Send private message
nmaddisetti
PostPosted: Fri Jul 01, 2005 11:27 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 01, 2005 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
chenulu
PostPosted: Sun Jul 03, 2005 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
nmaddisetti
PostPosted: Mon Jul 04, 2005 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
chenulu
PostPosted: Mon Jul 04, 2005 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Ian
PostPosted: Mon Jul 11, 2005 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Out of Memory Exception in FileRead Node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.