Posts: 40
Threads: 9
Joined: May 2005
This may seem like an idiotic question, and I hope this hasn't been answered before, but I'm making a big game and I need to know: What is the max number of variables you can declare in FreeBASIC? I just don't want to end up getting an out of memory error.
url=http://www.freewebs.com/boxtopstuff/]Planet Boxtop[/url] (Look out for the redesign!)
The only member of QBNF with severe "tomorrow syndrome."
Posts: 140
Threads: 13
Joined: Apr 2005
Your code can use the free OS memory plus the swapfile / pagingfile max = 2GB on 32bit OS's 2GB code 2GB data.
Joshy
sorry about my english
Posts: 2,765
Threads: 138
Joined: Nov 2002
In other words....
If you have a number that gives you an out of memory error then you shouldn't have that number to begin with =P
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
anything below 1 million lines of code should be good.
:lol:
Posts: 2,404
Threads: 153
Joined: Jan 2005
I got a out of memory error only by dimming up to 10,000,000+ for a few vars (Playing around, mind),. but really,. that much shouldn't be needed....
:lol:
Kevin (
x.t.r.GRAPHICS)