开发者

out of memory error in J2ME..? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_高级运维 Closed 11 years ago.

I am getting this out of memory error:

java.lang.RuntimeException: java.lang.OutOfMemoryError: <classname>: Unable to expand permanent memory 

I am getting this error while i am taking a reflect instant of a class in J2ME.


You could try allocating more space to the jvm. This is an example of how to do it.

One possible cause for this could be that you have a memory leak which is far too common. There are a lot of tools that you can use to help diagnose and fix these issues. WTK is one of them, but there are others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜