Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Max Variables?
#1
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."
Reply
#2
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
Reply
#3
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
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
anything below 1 million lines of code should be good.

:lol:
Reply
#5
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)

[Image: 11895-r.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)