Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Kuppuraj Govindhasamy

Greenhorn
+ Follow
since Feb 23, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kuppuraj Govindhasamy

sorry for missing words. you can the see the heap size in the jre command.
14 years ago
I am starting my application using below command(you the heap size given there).
jre -noclassgc -classpath %CLASSPATH% -mx256m -ms99m -Dnmsfmint.remote=true -Dnmsfmint.fmname=%FMNAME% %D_PARAMS% %nmxclient% itm.map.ItmRun gt=%tracelevel% lang=english log=%logfile% nmHelp=%juidrive%%juiroot%\jnm\itm\help\appl\lang\english xmHelp=%juidrive%%juiroot%\jnm\itm\xm\help\appl\lang\english tr=true tc=%TRUE_COLOR% fm=NONE

MapView class is drawing some icons on the Painting area.
14 years ago
Hi,
I am getting OutOfMemoryError in my java swing application as below.
Exception occurred during event dispatching:
java.lang.OutOfMemoryError
at sun.awt.image.Image.<init>(Compiled Code)
at sun.awt.windows.WImage.<init>(Compiled Code)
at sun.awt.windows.WOffScreenImage.<init>(Compiled Code)
at sun.awt.windows.WComponentPeer.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at java.awt.Component.createImage(Compiled Code)
at itm.map.MapView.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JSplitPane.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JSplitPane.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at javax.swing.JLayeredPane.paint(Compiled Code)
at javax.swing.JComponent.paintChildren(Compiled Code)
at javax.swing.JComponent.paint(Compiled Code)
at java.awt.Container.paint(Compiled Code)
at itm.map.ItmMap.update(Compiled Code)
at sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)

Is it possible to fix this?
14 years ago
Why are wait(), notify() and notifyall() methods defined in the Object class?