Re: Out of memory exception

2021-02-19 Thread Christopher Schultz
e was 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, bu

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 m

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 here

Re: Out of memory exception

2021-02-18 Thread Brian Wolfe
's throwing OOME 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 >

Re: Out of memory exception

2021-02-18 Thread Robert Turner
e one > > that's throwing OOME 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 l

Re: Out of memory exception

2021-02-18 Thread Niranjan Rao
so off topic for this mailing list:  Are the 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

Re: Out of memory exception

2021-02-18 Thread Shawn Heisey
s. In many cases eclipse MAT reports total 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

Out of memory exception

2021-02-18 Thread Niranjan Rao
rashed 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:

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, 20

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 >>

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 >> wrote: >>> Either people don't read the rules, or they do not understand

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 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 unsubs

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 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,

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 sho

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" 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 t

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 unintelligib

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?

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 i

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

2014-01-24 Thread Johan Compagner
On 23 January 2014 20:08, 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 suggestion ?) on this list to *not* > top

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 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 quickly, that

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 Ho

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 anythin

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 t

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

2014-01-23 Thread Milo Hyson
On Jan 23, 2014, at 2:05 PM, Christopher Schultz 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 > that. Save your own time a

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 shou

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

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

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 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 yahoo

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; per

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.

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 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 ad

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

2014-01-23 Thread Konstantin Kolinko
2014/1/23 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. >

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 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 all messag

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 the

Re: Out of memory exception

2014-01-23 Thread Ray Holme
> So I better monitor this and if I get the OOM > again I have to increase Max limit! > > > On Thu, Jan 23, 2014 at 8:50 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >>

Re: Out of memory exception

2014-01-23 Thread Christopher Schultz
t;>> -Djava.io.tmpdir=/usr/share/apache-tomcat-6.0.37/temp >>> org.apache.catalina.startup.Bootstrap start root 1158 0.0 >>> 0.0 3932 692 pts/0R+ 11:29 0:00 grep Bootstrap >>> [root@server bin]# >>> >>> But nothing cam

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)+ > apache-

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
1100 33.7 5.4 707052 95240 pts/0Sl 11:29 0:06 >>>>> /usr/java/default/bin/java >>>>> -Djava.util.logging.config.file=/usr/share/apache-tomcat- >>>>> 6.0.37/conf/logging.properties >>>

Re: Out of memory exception

2014-01-23 Thread Randeep
5240 pts/0Sl 11:29 0:06 >>>> /usr/java/default/bin/java >>>> -Djava.util.logging.config.file=/usr/share/apache-tomcat- >>>> 6.0.37/conf/logging.properties >>>> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager >>>> -X

Re: Out of memory exception

2014-01-23 Thread Randeep
/share/apache-tomcat-6.0.37 >>> -Dcatalina.home=/usr/share/apache-tomcat-6.0.37 >>> -Djava.io.tmpdir=/usr/share/apache-tomcat-6.0.37/temp >>> org.apache.catalina.startup.Bootstrap start >>> root 1158 0.0 0.0 3932 692 pts/0R+ 11:29 0:00 grep >&g

Re: Out of memory exception

2014-01-23 Thread Randeep
alina.home=/usr/share/apache-tomcat-6.0.37 >> -Djava.io.tmpdir=/usr/share/apache-tomcat-6.0.37/temp >> org.apache.catalina.startup.Bootstrap start >> root 1158 0.0 0.0 3932 692 pts/0R+ 11:29 0:00 grep >> Bootstrap >> [root@server bin]# >

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
"-Xloggc:$CATALINA_BASE/logs/heap.log” That should put the file in your “logs” directory. Dan > So I better monitor this and if I get the OOM > again I have to increase Max limit! > > > On Thu, Jan 23, 2014 at 8:50 PM, Christopher Schultz < > ch...@christopherschul

Re: Out of memory exception

2014-01-23 Thread André Warnier
2014 at 8:50 PM, 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.

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 wrote: > Randeep writes: > > > I blog here: > > http://www.randeeppr.me/ > > Gr

Re: Out of memory exception

2014-01-23 Thread Randeep
t; -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.OutOfMemor

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.cop

Re: Out of memory exception

2014-01-23 Thread Daniel Mikusa
On Jan 23, 2014, at 7:43 AM, Randeep 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) >at > java.la

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: users

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:

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 - http://jira.atlassian.com/browse/CONF-19049

Re: Out of Memory exception (hotspot compilation)

2010-06-02 Thread Leon Rosenberg
On Thu, Jun 3, 2010 at 1:54 AM, Leon Kolchinsky 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: Charles is ALWAY

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

RE: Out of Memory exception (hotspot compilation)

2010-06-01 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... > >

Re: Out of Memory exception (hotspot compilation)

2010-06-01 Thread Leon Kolchinsky
ades. (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:w

Re: Out of Memory exception (hotspot compilation)

2010-06-01 Thread Will Glass-Husain
ar...@unisys.com> wrote: > > 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/Forea

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

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: 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. >

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 > > 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 >

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 th

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 > > 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 than take r

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 applica

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 s

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 s