Hi!
First of all you should switch to 2.1.2 (download it fresh) and then if you
get the same error you could check for:
- doing a lot of JNDI lookup can cause this.
- if you do not need JNDI context anymore you should close it.
- you open and cache JMS connections
- maybe some more that depend on your application.
You can check this in your code or use Explorer or CLI.
I hope this helps.
Best regards,
Kovi
At 17:17 24.7.01 +0200, you wrote:
>I am getting an OutOfMemoryError error in SwiftMQ 2.1.0 Production
>version.
>
> - Has anyone else seen this error? Any recommendations?
>
> - Would the latest version of SwiftMQ (version 2.1.2) alleviate this
>problem?
>
> - Do I need to bump up the heap size in the Java invocation? If so, why
>here when not needed on NT?
>
>I am running on HP-UX OS. There is very little activity, if any at all
>messaging-wise. The smqr1 process seems to run for 8+ hours or so and then
>this error occurs - I haven't really run enough to correlate this error
>with any other event, but it does recur every day or so. smqr1 is running
>7x24 (still in development fortunately). I didn't see this error when
>running on Windows NT.
>
>No errors show up in the logs, just normal stuff in the info file, however
>nothing unusual that I can see.
>
>* * * The process line in top for smqr1 looks like this * * *
>
>System: d03 Tue Jul 24 08:03:20
>2001
>
>Memory: 320392K (262468K) real, 246212K (178084K) virtual, 32268K free
>
> TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU
>COMMAND
>pts/7 26139 message 152 20 67644K 97844K run 9:58 0.56 0.56 java
>
>* * * Memory error * * *
>
>java.lang.OutOfMemoryError:
> at java.util.zip.Deflater.init(Native Method)
> at java.util.zip.Deflater.<init>(Deflater.java:97)
> at java.util.zip.GZIPOutputStream.<init>(GZIPOutputStream.java:43)
> at com.swiftmq.tools.util.Compressor.compress(Compressor.java:12)
> at com.swiftmq.jms.MessageImpl.writeContent(MessageImpl.java:361)
> at
>com.swiftmq.jms.smqp.AsyncMessageDeliveryRequest.writeContent(AsyncMessageDeliveryRequest.java:62)
> at com.swiftmq.tools.dump.Dumpalizer.dump(Dumpalizer.java:36)
> at
>com.swiftmq.router.swiftlets.jms.OutboundWriter.processObject(OutboundWriter.java:51)
> at
>com.swiftmq.router.swiftlets.jms.OutboundWriter.performRequest(OutboundWriter.java:75)
> at
>com.swiftmq.tools.requestreply.RequestRegistry.request(RequestRegistry.java:92)
> at
>com.swiftmq.router.swiftlets.jms.JMSConsumerManager.sendMessage(JMSConsumerManager.java:753)
> at
>com.swiftmq.router.swiftlets.jms.JMSConsumer.run(JMSConsumer.java:256)
> at
>com.swiftmq.router.swiftlets.threadpool.PoolThread.run(PoolThread.java:52)
>
>
>Thanks,
>
>Pat Podenski
>Technical Architect
>Information Systems
>Expeditors International
>[EMAIL PROTECTED]
>206-674-3400 x3243
>
>
>------------------------------------------------------
>SwiftMQ developers mailing list * http://www.swiftmq.com
>To unsubscribe from this list, send an eMail to
>[EMAIL PROTECTED] and write in the body of your message:
>UNSUBSCRIBE developers <your-email-address>
>Archive: http://www.mail-archive.com/developers@mail.iit.de/
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/