TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Detecting a permgen memory leak in a Java application

22 pointsby wheresvic1almost 4 years ago

3 comments

kevinherronalmost 4 years ago
Uh… PermGen? What year is it? This must be blog spam from the past.
评论 #28137418 未加载
评论 #28137421 未加载
Sophistifunkalmost 4 years ago
Detecting? It's safe to assume that if there's any statics there's a permgen leak.
评论 #28137518 未加载
theamkalmost 4 years ago
&gt; Steps to use visualvm to profile memory for a standalone JBoss application:<p>&gt; Allow visualvm to use 1024 Mb of RAM - in etc&#x2F;visualvm.conf update -Xmx parameter to -J-Xmx1024m<p>And this is why I avoid all Java apps I can -- there is always a need for some memory tuning. C++, Lisp, Perl, Go, Python, even Javascript can all use all the memory in my computer have without any action on my part, only Java keeps having the problems with it.
评论 #28137139 未加载
评论 #28137763 未加载
评论 #28137961 未加载
评论 #28137433 未加载
评论 #28138606 未加载