• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

either a pim error or a stupid mistake

 
arjan pronk
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey guys, I've got a smal problem in my code here and was hoping one of you could spot it. It could be one of two things it's either the pim method where i'm doing something wrong or the thread in which it runs.

Thanks

Arjan




I'm calling the thread from another class .




[ May 21, 2008: Message edited by: arjan pronk ]
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm being lazy and not actually looking at the code too closely, but an OutOfMemoryError is frequently caused by one of 2 things:

1. Infinite recursive calls

2. "Ping-pong" calls where code A posts an immediate (un-queued) event to code B, which invokes code A, which posts to code B and so forth. Which is just infinite recursion in cahoots with the event manager.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic