PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

? with PocketQuake and HPJ525

Hi all,

I have problems running the PQ game on the HPJ525. I finally got it running. And it looks great. Now the problem is, I can not run it anymore. It gives me a "Not enough memory free; check disk space" message.
Now my question: how can I manage the memory with out it always doing it automatically? Evey time I move the slider over to make more prg mem, it goes back to the middle again. I have no idea how PQ worked the first time. :)

Do any of you have any tricks to keep the memory to the prg side?

I have currently 5.04mb storage-4.77mb program mem.

Thanks in advance for any help.

Later,
Mike
You need to have atleast 8MB's of memory free, I think. But you've got too little free memory to run PocketQuake, total. You have to move the slider to the left slowly and see at what point it snaps back to the center. The WindowsCE OS usually requires less than a 20:80 ratio memory allocation of total available memory ... or somewhere around that.
4.7Mb prog memory? forget it! You'll need ~7-8Mb

Use the -heapsize command line parameter. This will limit it's memory useage, at the possible expense of speed/loading times.

syntax: -heapsize kbytes

Eg: to use 6Mb (the minimum you can get away with):

-heapsize 6144

hope this helps...
Pocket Quake ignores the -heapsize param. I should probably code that back in so people can at least try it. Pocket Quake's heapsize is always 6,570,560 bytes. So with the stack it requires around 7-8 MB free.

Dan East
ohhh...It might not be -heapsize then. On my J680 (16mb) Quake takes as much ram as it can and so I have to limit it's useage else I get out of memory crap from the OS...

Im pretty sure it's '-heapsize' though...