Re: RC 2071 with JMS

2002-05-24 Thread Chris A. Dahl

Bill,

We have had some memory leakage issues with java 1.2.2 on AIX 4.3 ML 09.
The problems do not necessarilly result in java memory errors but instead
is displayed  in whatever happens to need the memory when it exceeds the
ulimit. We have been instructed to go to ML 10 ASAP. If you haven't
already, you might keep tabs on your paging space and per process memory
usage to see if there are issues there.

Regards,

Chris




  Bill Pigg
  [EMAIL PROTECTED] To:  [EMAIL PROTECTED]
  M   cc:
  Sent by: Subject: Re: RC 2071 with JMS
  MQSeries List
  MQSERIES@AKH-WI
  EN.AC.AT


  05/23/02 03:36
  PM
  Please respond
  to MQSeries List





Thanks, guys.

Yes, of course this is not JMS. I should look at what I cut and paste.
Error though, is an mq error whereas a heapsize problem returns a java out
of memory. Thanks to Stefan for reminding me of a previous post. This is
not the same. App is invoked with min 128m, max 512m. I thought that this
machine had 2G RAM but turns out only to have 1G. Looks like MQ is running
out of RAM when trying to reassemble the 88M message. Likely because the
java app is consuming so much which is indeed nearly the full 512M.

Bill

William M. Pigg
Bill Pigg/San Jose/IBM
[EMAIL PROTECTED]
408.256.5656 t/l 276.5656


Chris A. Dahl [EMAIL PROTECTED]@AKH-WIEN.AC.AT on
05/21/2002 02:15:26 PM

Please respond to MQSeries List [EMAIL PROTECTED]

Sent by:MQSeries List [EMAIL PROTECTED]


To:[EMAIL PROTECTED]
cc:
Subject:Re: RC 2071 with JMS



Bill,

That looks more like MQ classes for Java code rather than JMS.
Have you tried increasing your initial JVM heap size (i.e. java -Xms128m)?
The 128m means 128 megabytes.

Regards,

Chris




  Bill Pigg
  [EMAIL PROTECTED] To:
  [EMAIL PROTECTED]
  M   cc:
  Sent by: Subject: RC 2071 with JMS
  MQSeries List
  MQSERIES@AKH-WI
  EN.AC.AT


  05/21/02 02:18
  PM
  Please respond
  to MQSeries List





Good afternoon all,

on AIX 4.3.3 with MQ 5.2, JMS trying to retreive complete message from q
containing an 88M message segmented into 23 messages. The get message call
below is coming back with RC 2071 - Insufficient main storage. Anyone have
ideas on what might be happening here? I haven't found anything helpful in
the archives and am about to open a call with MQ support. Thanks.

// First define a MQ message buffer to receive the message into..
MQMessage message = new MQMessage();

// Set the get message options..
MQGetMessageOptions gmo = new MQGetMessageOptions();  // accept
the defaults
  // same
as MQGMO_DEFAULT
gmo.options = MQC.MQGMO_FAIL_IF_QUIESCING
  | MQC.MQGMO_SYNCPOINT
  | MQC.MQGMO_COMPLETE_MSG;

// get the message off the queue..

receiveQueue.get(message,
 gmo);

Bill

William M. Pigg
Bill Pigg/San Jose/IBM
[EMAIL PROTECTED]
408.256.5656 t/l 276.5656

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive



Re: RC 2071 with JMS

2002-05-23 Thread Stefan Sievert

Bill,
is this http://www.messageq.com/forums/vienna/msg_body.php3?ID=29050 the
same problem that you have now? Did increasing the heap size solve this
problem?
Just remembered to have read something about this on the list a while ago...
Stefan


From: Bill Pigg [EMAIL PROTECTED]
Reply-To: MQSeries List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RC 2071 with JMS
Date: Tue, 21 May 2002 12:18:28 -0700

Good afternoon all,

on AIX 4.3.3 with MQ 5.2, JMS trying to retreive complete message from q
containing an 88M message segmented into 23 messages. The get message call
below is coming back with RC 2071 - Insufficient main storage. Anyone have
ideas on what might be happening here? I haven't found anything helpful in
the archives and am about to open a call with MQ support. Thanks.

// First define a MQ message buffer to receive the message into..
 MQMessage message = new MQMessage();

 // Set the get message options..
 MQGetMessageOptions gmo = new MQGetMessageOptions();  //
accept
the defaults
   // same
as MQGMO_DEFAULT
 gmo.options = MQC.MQGMO_FAIL_IF_QUIESCING
   | MQC.MQGMO_SYNCPOINT
   | MQC.MQGMO_COMPLETE_MSG;

 // get the message off the queue..

 receiveQueue.get(message,
  gmo);

Bill

William M. Pigg
Bill Pigg/San Jose/IBM
[EMAIL PROTECTED]
408.256.5656 t/l 276.5656

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


_
Join the world s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive