|
|
+
Krishna Kishore Bonagiri 2013-01-14, 12:35
+
Krishna Kishore Bonagiri 2013-01-18, 09:38
-
Re: OutofMemoryError when running an YARN application with 25 containersKrishna Kishore Bonagiri 2013-01-18, 09:29
Hi Anil,
Thanks or the reply. I was trying google to know how to increase heap size, and found that the option -Xmx1500m has be passed as command line argument for java. Is that the way you are suggesting? If so, how can I pass it for Application Master, because it is Client program that actually launches the AM... Or is there any other way for doing it? Thanks, Kishore On Tue, Jan 15, 2013 at 11:48 AM, anil gupta <[EMAIL PROTECTED]> wrote: > The following log tells you the exact error: > > *JVMDUMP013I Processed dump event "systhrow", detail > "java/lang/OutOfMemoryError".* > * * > *Exception in thread "Thread-7" java.lang.OutOfMemoryError* > * at ApplicationMaster.readMessage(**ApplicationMaster.java:241)* > * at ApplicationMaster$**SectionLeaderRunnable.run(** > ApplicationMaster.java:825)* > * * > * at java.lang.Thread.run(Thread.**java:736)* > > You might need to increase the HeapSize of ApplicationMaster. > > HTH, > Anil Gupta > > > On Mon, Jan 14, 2013 at 4:35 AM, Krishna Kishore Bonagiri < > [EMAIL PROTECTED]> wrote: > >> Hi, >> >> I am getting the following error in ApplicationMaster.stderr when >> running an application with around 25 container launches. How can I resolve >> this issue? >> >> JVMDUMP006I Processing dump event "systhrow", detail >> "java/lang/OutOfMemoryError" - please wait. >> JVMDUMP032I JVM requested Heap dump using >> '/tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/heapdump.20130114.044646.16631.0001.phd' >> in response to an event >> JVMDUMP010I Heap dump written to >> /tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/heapdump.20130114.044646.16631.0001.phd >> JVMDUMP032I JVM requested Java dump using >> '/tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/javacore.20130114.044646.16631.0002.txt' >> in response to an event >> JVMDUMP010I Java dump written to >> /tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/javacore.20130114.044646.16631.0002.txt >> JVMDUMP032I JVM requested Snap dump using >> '/tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/Snap.20130114.044646.16631.0003.trc' >> in response to an event >> JVMDUMP010I Snap dump written to >> /tmp/nm-local-dir/usercache/dsadm/appcache/application_1355219238448_0461/container_1355219238448_0461_01_000001/Snap.20130114.044646.16631.0003.trc >> JVMDUMP013I Processed dump event "systhrow", detail >> "java/lang/OutOfMemoryError". >> Exception in thread "Thread-7" java.lang.OutOfMemoryError >> at ApplicationMaster.readMessage(ApplicationMaster.java:241) >> at >> ApplicationMaster$SectionLeaderRunnable.run(ApplicationMaster.java:825) >> at java.lang.Thread.run(Thread.java:736) >> >> >> Thanks, >> Kishore >> > > > > -- > Thanks & Regards, > Anil Gupta |