Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 Phoenix Edition v3.12.0 Released!
#12
I've got some database files which I routinely work with that are around 7GB in size.

Those can't be loaded into a string, but you can reserve memory for them and load them into a _MEMNEW block, as long as you load them in "chunks" until that block is fully filled.  That is:

1) Provided you're on a 64-bit machine.  32-bit limits you to about 1.5GB max file size.  (It claims 2GB, but every file has to reserve some overhead for the OS.)

2) Provided you have more than that amount of memory on your system.

3) Provided that taking that much memory from your system doesn't steal resources from other things and brick up your machine until you reboot.
Reply


Messages In This Thread
RE: QB64 Phoenix Edition v3.12.0 Released! - by SMcNeill - 02-29-2024, 05:05 PM



Users browsing this thread: 3 Guest(s)