troubleshooting Question

remove JPanel objects after use

Avatar of zolf
zolfFlag for United Arab Emirates asked on
Java
18 Comments1 Solution361 ViewsLast Modified:
hello there,

i have this code which i need to remove the jpanel object after use as it is eating into my memory and i get java.lang.OutOfMemoryError: Java heap space exception.
you can refer to this link for my actual problem and then an EE mnrz helped me identify the problem.
https://www.experts-exchange.com/Programming/Languages/Java/Q_22771390.html

but now i dont know how to rectify the problem.your help will be appreciated.
please help.

cheers
zolf
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 18 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros