Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

laprej

macrumors regular
Original poster
Oct 14, 2005
108
2
Troy, NY
Has anyone else run into the problem that using Garbage Collection causes your project to crash? What could cause this? I would hope that if it were running out of memory performance would just degrade, not crash. On the other hand, if it's releasing stuff early, I think that would be indicative of an incorrect implementation on Apple's part, right?
 

BigJimSlade

macrumors member
Dec 16, 2005
38
0
Has anyone else run into the problem that using Garbage Collection causes your project to crash? What could cause this? I would hope that if it were running out of memory performance would just degrade, not crash. On the other hand, if it's releasing stuff early, I think that would be indicative of an incorrect implementation on Apple's part, right?

*removed*
 

kpua

macrumors 6502
Jul 25, 2006
294
0
There are several possibile causes, but it's impossible to say for sure without seeing a backtrace.
 

laprej

macrumors regular
Original poster
Oct 14, 2005
108
2
Troy, NY
I would love to supply the folks at MacRumors with a trace. Unfortunately, it wouldn't be extremely helpful IMO. I'm writing a discrete event simulator using NSInvocations. Otherwise my stack may have 4000+ frames on it (no, I'm not making that number up - early attempts at debugging this showed this to be the case) I feel like many programmers never need to go down this route and that may be why it's not working?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.