Hello there. I am writing a game in java for a class of mine but i am getting this bugger ass error and i cant find it. Can someone help me? The whole project including all classes and such is located in the .zip you can download. I swear it doesn't have any virus's I just really need some help.
bcain2121
0
Newbie Poster
Recommended Answers
Jump to PostI swear it doesn't have any virus's I just really need some help.
Yeah ok, I swear I believe you.
Post your code.
Jump to Postbasically, the stack is the 'heap' on which all your (local) variables are created.
if you never destroy or re-use any, just keep creating new ones, the time will come that your (limited) space on the heap is maxed out. if then, you're creating one more.bam.
stack …
Jump to PostString a = new String("still needed");
a = null; // not used anymore
Jump to Postdon't know. I see you calling a lot of methods, but I have no idea of what they do.
also, those if-s might be in a loop, which could be part of it.best thing to do is post the entire code.
All 13 Replies
ztini
bcain2121
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
bcain2121
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
bcain2121
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
stultuske
commented:
++
+14
bcain2121
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
bcain2121
0
Newbie Poster
bcain2121
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.