![]() |
Allocating 1.8GB memory.... problem?
I seem to have an issue... Our logomotion code, recompiled for this year, boots, until it tries to allocate 1.8GB memory:
Quote:
|
Re: Allocating 1.8GB memory.... problem?
Well, you should post your code so we know what exactly is allocating 2GB of memory. ;)
|
Re: Allocating 1.8GB memory.... problem?
our logomotion code, recompiled from last year: https://bitbucket.org/byteit101/logo/src
It worked for us perfectly at the competitions, so not sure why its failing this year.... |
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. |
Re: Allocating 1.8GB memory.... problem?
Quote:
strange.... |
Re: Allocating 1.8GB memory.... problem?
Minimal Test Case?
Edit: I mean, post it. |
Re: Allocating 1.8GB memory.... problem?
Quote:
|
Re: Allocating 1.8GB memory.... problem?
Quote:
|
| All times are GMT -5. The time now is 00:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi