Re: Out of memory exception

2021-02-19 Thread Christopher Schultz
less than 100MB when program crashed with out of memory exception. Has anyone seen anything similar to this? Identical bits of code behaving differently? What else should I be looking for? What is the load profile of each application/server? You said you aren't running Tomcat, but is lo

Re: Out of memory exception

2021-02-18 Thread Niranjan Rao
On 2/18/21 12:53 PM, Shawn Heisey wrote: On 2/18/2021 12:11 PM, Niranjan Rao wrote: Thank you the response. This is not a web application, but a standalone java program. Hence I said it's not a tomcat question, but a generic JVM question. I have been researching about this a lot and based on

Re: Out of memory exception

2021-02-18 Thread Shawn Heisey
On 2/18/2021 12:11 PM, Niranjan Rao wrote: Thank you the response. This is not a web application, but a standalone java program. Hence I said it's not a tomcat question, but a generic JVM question. I have been researching about this a lot and based on many mails on this list, lot of people

Re: Out of memory exception

2021-02-18 Thread Brian Wolfe
ntially similar requests when > > compared to one that doesn't? Is the request rate nearly the same, or > > is the problematic one handling a lot more? Another applicable > > question, also off topic for this mailing list: Are the apps in both > > cases configured identically

Re: Out of memory exception

2021-02-18 Thread Robert Turner
E handling substantially similar requests when > > compared to one that doesn't? Is the request rate nearly the same, or > > is the problematic one handling a lot more? Another applicable > > question, also off topic for this mailing list: Are the apps in both > > cases co

Re: Out of memory exception

2021-02-18 Thread Niranjan Rao
apps in both cases configured identically? I took memory dumps from both VMs and they look similar. Program is started with -Xmx1g flag and we have taken regular memory dumps. In many cases eclipse MAT reports total memory usage was less than 100MB when program crashed with out of memory exc

Re: Out of memory exception

2021-02-18 Thread Shawn Heisey
tal memory usage was less than 100MB when program crashed with out of memory exception. That's extremely odd, unless the application requested a REALLY big chunk of memory such that the 100MB existing plus the new allocation would be larger than the max heap size of 1GB. Do you have enough free

Out of memory exception

2021-02-18 Thread Niranjan Rao
d with out of memory exception. Has anyone seen anything similar to this? Identical bits of code behaving differently? What else should I be looking for? Regards, Niranjan - To unsubscribe, e-mail: user

Re: [OT] Out of memory exception - top posting

2014-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, On 1/25/14, 11:12 AM, Nick Williams wrote: On Jan 24, 2014, at 12:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/24/14, 10:18 AM, Mark H. Wood wrote: On Thu, Jan 23, 2014 at

Re: [OT] Out of memory exception - top posting

2014-01-25 Thread Nick Williams
On Jan 24, 2014, at 12:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/24/14, 10:18 AM, Mark H. Wood wrote: On Thu, Jan 23, 2014 at 09:24:41PM -0500, Howard W. Smith, Jr. wrote: On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Johan Compagner
On 23 January 2014 20:08, André Warnier a...@ice-sa.com wrote: Ray Holme wrote: Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. Guys, I think that the rule (or should I say suggestion ?) on this list to *not*

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread chris derham
There are probably lots of reasons for top-posting, and I don't think we can lay the blame on the MS Outlook world. The people I work with use a mixture of Thunderbird, web-based interfaces, and Outlook. Every one of them top-posts :-(. When you click reply in these email clients, they

RE: [OT] Out of memory exception - top posting

2014-01-24 Thread Caldarale, Charles R
From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: [OT] Out of memory exception - top posting As long as you can visually distinguish the reply from the original, does it really matter if that reply is above or below the original? Always bottom

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Mark H. Wood
If I can't figure out what the post is talking about by looking at the first 50-60 lines, I usually just hit D and move on. If, by some miracle, the poster really needed to reach *me*, he may eventually ask why I don't respond, and then I can tell him privately why I find his messages

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Ray Holme
On Friday, January 24, 2014 9:46 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: [OT] Out of memory exception - top posting As long as you can visually distinguish the reply from

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Filip Hanik
Since this is part of a thread, neither top nor bottom posting makes sense, why include the previous post if we all have access to it in our conversation thread. the only time it makes sense to include it, would be when you reply in line to multiple questions with multiple answers. there, that

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Mark H. Wood
On Thu, Jan 23, 2014 at 09:24:41PM -0500, Howard W. Smith, Jr. wrote: On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com wrote: Either people don't read the rules, or they do not understand the rule, or they just ignore it. I agree. As a tomcat/tomee user, I joined the list,

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Leo Donahue
All good ideas. I like the general rule of: be nice or ignore the post. Why should we let a user's post turn our day lousy? I'd hate to see this place turn into what other user forums have become, not naming names. - To

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Filip, On 1/24/14, 10:02 AM, Filip Hanik wrote: Since this is part of a thread, neither top nor bottom posting makes sense, why include the previous post if we all have access to it in our conversation thread. the only time it makes sense to

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/24/14, 10:18 AM, Mark H. Wood wrote: On Thu, Jan 23, 2014 at 09:24:41PM -0500, Howard W. Smith, Jr. wrote: On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com wrote: Either people don't read the rules, or they do not

Out of memory exception

2014-01-23 Thread Randeep
Hi, I'm getting out of memory exception errors. Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100

Do some research before blogging (was: Out of memory exception)

2014-01-23 Thread KD
Randeep writes: I blog here: http://www.randeeppr.me/ Great, but recommending to run Tomcat as root is dangerous nonsense. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
On Jan 23, 2014, at 7:43 AM, Randeep randeep...@gmail.com wrote: Hi, I'm getting out of memory exception errors. Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882

Re: Out of memory exception

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882

Re: Out of memory exception

2014-01-23 Thread Randeep
- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity

Re: Do some research before blogging (was: Out of memory exception)

2014-01-23 Thread Randeep
Hi, I assume you are talking about my blog posts in http://www.linuxhelp.in/ I'm sorry. I'll correct it. I test everything as root user. So while writing also it came like that. On Thu, Jan 23, 2014 at 6:40 PM, KD kdal...@hotmail.com wrote: Randeep writes: I blog here:

Re: Out of memory exception

2014-01-23 Thread André Warnier
, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf

Re: Out of memory exception

2014-01-23 Thread Randeep
: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity

Re: Out of memory exception

2014-01-23 Thread Randeep
, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity( AbstractStringBuilder.java:100

Re: Out of memory exception

2014-01-23 Thread Randeep
, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882

Re: Out of memory exception

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 11:38 AM, Randeep wrote: Hi all, Thanks a lot for valuable points. Here the information you guys asked and the changes I made. OS : CentOS release 5.4 (Final) httpd-2.2.3-65.el5.centos(front_end) +(mod_jk)+

Re: Out of memory exception

2014-01-23 Thread Christopher Schultz
...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java

Re: Out of memory exception

2014-01-23 Thread Ray Holme
: SHA256 Randeep, On 1/23/14, 7:43 AM, Randeep wrote: I'm getting out of memory exception errors. :( Exception in thread Timer-1 java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread André Warnier
Ray Holme wrote: Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. Guys, I think that the rule (or should I say suggestion ?) on this list to *not* top-post is not working. Either people don't read the rules, or

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Leo Donahue
On Thu, Jan 23, 2014 at 12:08 PM, André Warnier a...@ice-sa.com wrote: it seems that we're spending more time lately asking people to not top-post, than actually providing answers to their questions. So I have a few suggestions of my own : - have the list software add a message in *bold* to

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Konstantin Kolinko
2014/1/23 André Warnier a...@ice-sa.com: Ray Holme wrote: Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. Guys, I think that the rule (or should I say suggestion ?) on this list to *not* top-post is not

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Mark Eggers
On 1/23/2014 11:21 AM, Leo Donahue wrote: On Thu, Jan 23, 2014 at 12:08 PM, André Warnier a...@ice-sa.com wrote: it seems that we're spending more time lately asking people to not top-post, than actually providing answers to their questions. So I have a few suggestions of my own : - have the

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Ray Holme
Unfortunately that will mean that all folks who use yahoo need to copy and paste all messages. I have tried reply and reply to conversation but with the new yahoo paradigm (a couple months ago, they changed things) - it no longer allows me to post inside of an email as it did in the past. I

RE: [OT] Out of memory exception - top posting

2014-01-23 Thread Caldarale, Charles R
From: Ray Holme [mailto:rayho...@yahoo.com] Subject: Re: [OT] Out of memory exception - top posting Unfortunately that will mean that all folks who use yahoo need to copy and paste all messages. It appears that Mark E has no trouble with in-line posting from yahoo; perhaps he can share

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Mark Eggers
Reply at the bottom . . . and one in-line for fun. On Thursday, January 23, 2014 12:22 PM, Ray Holme rayho...@yahoo.com wrote: Unfortunately that will mean that all folks who use yahoo need to copy and paste all messages. I have tried reply and reply to conversation but with the new

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Ray Holme
On Thursday, January 23, 2014 3:41 PM, Mark Eggers its_toas...@yahoo.com wrote: Reply at the bottom . . . and one in-line for fun. On Thursday, January 23, 2014 12:22 PM, Ray Holme rayho...@yahoo.com wrote: Unfortunately that will mean that all folks who use yahoo need to copy and

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 2:08 PM, André Warnier wrote: Ray Holme wrote: Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. Guys, I think that the rule (or should I say

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Milo Hyson
On Jan 23, 2014, at 2:05 PM, Christopher Schultz ch...@christopherschultz.net wrote: Some people can't figure out how to reply properly. Just gently remind posters of the rules and get back to business. There is no need to reply to a post by simply saying Don't top-post and leaving it at

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread André Warnier
Christopher, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 2:08 PM, André Warnier wrote: Ray Holme wrote: Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. Guys, I

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 6:09 PM, André Warnier wrote: Christopher, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 2:08 PM, André Warnier wrote: Ray Holme wrote: Doing anything as root conceals

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Mark Eggers
On 1/23/2014 3:51 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 6:09 PM, André Warnier wrote: Christopher, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/14, 2:08 PM, André Warnier wrote: Ray

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Howard W. Smith, Jr.
On Thu, Jan 23, 2014 at 2:08 PM, André Warnier a...@ice-sa.com wrote: Either people don't read the rules, or they do not understand the rule, or they just ignore it. I agree. As a tomcat/tomee user, I joined the list, primarily, to listen in on topics (that interest me), so I learned, very

Re: Out of Memory exception (hotspot compilation)

2010-06-03 Thread Leon Rosenberg
On Thu, Jun 3, 2010 at 1:54 AM, Leon Kolchinsky lkolc...@gmail.com wrote: Yep :) You're right Charles. Thanks, Leon From Leon To Leon, an advice from personal experience and the golden rule of the tomcat user list, write it down in glowing red letters on the wall you are looking at most:

Re: Out of Memory exception (hotspot compilation)

2010-06-03 Thread Leon Kolchinsky
Hello, Just wanted to update on this issue. Atlassian support confirms that this is a known issue with Java 6.0_18 and up. So, the best solution for now is to use 6.0_17 Here -

RE: Out of Memory exception (hotspot compilation)

2010-06-02 Thread Caldarale, Charles R
From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Re: Out of Memory exception (hotspot compilation) I'd like to file a bug report on similar issue I had. Can you please tell me where can I do it? Let's see what your original post had in it... Yesterday I've got this error

Re: Out of Memory exception (hotspot compilation)

2010-06-02 Thread Leon Kolchinsky
Yep :) You're right Charles. Thanks, Leon On Wed, Jun 2, 2010 at 16:27, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Leon Kolchinsky [mailto:lkolc...@gmail.com] Subject: Re: Out of Memory exception (hotspot compilation) I'd like to file a bug report on similar issue I

Out of Memory exception (hotspot compilation)

2010-06-01 Thread Will Glass-Husain
Hi, I noticed in recent emails that Leon Kolchinsky was running Tomcat and Java requested 2GB of memory unexpectedly then died due to an out of memory exception. Bizarrely, the same thing happened to me today with very similar symptoms. Specifically, the JVM requested 8GB of memory while hotspot

RE: Out of Memory exception (hotspot compilation)

2010-06-01 Thread Caldarale, Charles R
From: Will Glass-Husain [mailto:wglasshus...@gmail.com] Subject: Out of Memory exception (hotspot compilation) Specifically, the JVM requested 8GB of memory while hotspot was trying to compile the exact same Velocity/Foreach method as Leon's example. I'm running 64 bit JDK 1.6.0_18-b07

Re: Out of Memory exception (hotspot compilation)

2010-06-01 Thread Will Glass-Husain
: From: Will Glass-Husain [mailto:wglasshus...@gmail.com] Subject: Out of Memory exception (hotspot compilation) Specifically, the JVM requested 8GB of memory while hotspot was trying to compile the exact same Velocity/Foreach method as Leon's example. I'm running 64 bit JDK 1.6.0_18-b07

Re: Out of Memory exception (hotspot compilation)

2010-06-01 Thread Leon Kolchinsky
upgrades. (it's possible there was a upgrade to the OS I'm not aware of, but definitely not the JDK). WILL On Tue, Jun 1, 2010 at 12:45 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Will Glass-Husain [mailto:wglasshus...@gmail.com] Subject: Out of Memory exception

PermGen Out of memory exception

2007-11-12 Thread Kanchana Welagedara
Hi All I have developed 4 war files using Appfuse frame work.These war files are independent.when I deployed any three war files the applications are up and run.But when I deployed the 4th one (any) it throws a PermGen exception.It has been copied in the bellow 1.Is this some thing related not

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
Hi Kanchana, Java processes use two types of memory: the heap (which is garbage collected), and PermGen memory (which is not garbage collected). Generally speaking, you won't run out of heap memory unless your application is set up so that the memory for all the objects being used at a

RE: PermGen Out of memory exception

2007-11-12 Thread Peter Crowther
From: Jim [mailto:[EMAIL PROTECTED] PermGen space, on the other hand, doesn't get garbage collected, so you need to ensure you're allocating enough to handle all that your application will need. Unfortunately with the web application classloader-system, every time you deploy an application

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
Caldarale, Charles R wrote: From: Jim [mailto:[EMAIL PROTECTED] Subject: Re: PermGen Out of memory exception PermGen space, on the other hand, doesn't get garbage collected As Peter C indicated, this is utter BS. Why do people keep propagating this fallacy? Easier to blame the JVM

RE: PermGen Out of memory exception

2007-11-12 Thread Caldarale, Charles R
From: Jim [mailto:[EMAIL PROTECTED] Subject: Re: PermGen Out of memory exception To address your rhetorical question :) , this issue is a mess to research. Which is why it should be done before deployment... it can be intimidating to be pointed at a 21 page Sun white paper Try

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
Caldarale, Charles R wrote: Perhaps the Tomcat FAQ on memory-issues could be fleshed out/updated? This specific item is already in the Tomcat FAQ: If you have a lot of servlets or JSP's, you may need to increase your permanent generation. By default, it is 64MB. Doubling [sic] it to be

RE: PermGen Out of memory exception

2007-11-12 Thread Caldarale, Charles R
From: Jim [mailto:[EMAIL PROTECTED] Subject: Re: PermGen Out of memory exception The problem with that language is it implies that PermGen space is generally only an issue if you're using a lot of servlets or JSPs. Agreed, that's not inclusive enough. there's nothing in the FAQ linking