Go to Post So perhaps those that are so eager to complain might realize that if they spent a little less time complaining and a little more time analyzing the problem and developing solutions, then they might have a little less to complain about. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 10-02-2012, 19:38
Hjelstrom's Avatar
Hjelstrom Hjelstrom is offline
Mentor
FRC #0987 (High Rollers)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2005
Location: Las Vegas
Posts: 148
Hjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond reputeHjelstrom has a reputation beyond repute
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.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi