|
Re: Allocating 1.8GB memory.... problem?
I looked over your code briefly and didn't see anything that looks like it would cause the problem. For one thing you don't do many (any?) manual memory/object allocations (so that rules out a lot of potential problems I was looking for).
I'd try putting a print in the first line of your robot's constructor and see if the crash happens before or after that. Assuming it happens before your print, then you'll probably have to start commenting member variables and their associated code out to figure out where the problem is. Nothing against ZomB but I'd try commenting that out first; maybe you need an updated version of it that is compatible with this year's WPI lib? Or your code is trying to talk to an older ZomB but you're linking in the new code? Just a guess.
|