Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test Maximum Memory
#2
Yes in QB64 you can use all your memory.
Compared to QB45 this can also lead to a different coding style
Where I used (random access) files a lot with QB45 to only keep data in memory that was processed at the time, now with QB64 you can most of the time read all data in memory at the start of your program and write it back when ending.

But despite the documentation
"Arrays in QuickBASIC 4.5 and QBasic are limited to 32767 elements, while arrays in QB64 are limited to 2147483647 elements (over 2 billion). When the 64-bit version of QB64 is implemented 9223372036854775807 elements will be the limit (but only on 64-bit systems)."
there are quite some issues with arrays above 2GB; some work up to 4GB, some up to 2GB while the doc says there should basically be no limit....
I'd love to see that fixed some day soon

But nothing stops you from using multiple 2GB arrays and unlimited _Mem as long as you have the physical memory available
45y and 2M lines of MBASIC>BASICA>QBASIC>QBX>QB64 experience
Reply


Messages In This Thread
Test Maximum Memory - by eoredson - 04-26-2025, 04:01 AM
RE: Test Maximum Memory - by mdijkens - 04-26-2025, 09:22 AM
RE: Test Maximum Memory - by eoredson - 04-28-2025, 05:50 AM
RE: Test Maximum Memory - by DSMan195276 - 04-29-2025, 03:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Recall2 - a memory improvement game PhilOfPerth 15 3,064 04-06-2023, 11:17 PM
Last Post: PhilOfPerth
  Recall - a memory - test game PhilOfPerth 6 1,716 05-07-2022, 02:58 AM
Last Post: PhilOfPerth

Forum Jump:


Users browsing this thread: