PB running in RAM DISK

Just starting out? Need help? Post your questions and find answers here.
eriksradio
User
User
Posts: 30
Joined: Tue Sep 09, 2003 11:44 pm
Location: Queensland, Australia

PB running in RAM DISK

Post by eriksradio »

I am not complaining although it would be nice to have

My PB programs will not work in a RAMDISK.
They seem to get caught up in an endless loop.

Is this just me or have others the same experience.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

How are you setting up the RAM disk?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: PB running in RAM DISK

Post by PB »

> My PB programs will not work in a RAMDISK.
> They seem to get caught up in an endless loop.

What ram disk are you using? I'm running one on Windows 2000 and
my PureBasic apps run just fine in it. Sorry that I can't remember the
name of it at the moment, I'll check later on my other PC.
eriksradio
User
User
Posts: 30
Joined: Tue Sep 09, 2003 11:44 pm
Location: Queensland, Australia

Post by eriksradio »

I am using "QSOFT" RAM DISK set as drive "B" and 224M and winXP
It is fairly large as my program needs a huge workspace.

I would say it is my setup, otherwise many would have the same experience.

I will try a few things.

It may also be the way I have written the programs.
dmoc
Enthusiast
Enthusiast
Posts: 739
Joined: Sat Apr 26, 2003 12:40 am

Post by dmoc »

eriksradio, just a thought, how much actual RAM do you have? Have you checked how much is free?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I am using "QSOFT" RAM DISK set as drive "B" and 224M and winXP

I've just checked and I'm using the freeware AR Soft RamDisk:

http://www.softnews.ro/public/cat/13/7/13-7-14.shtml

Mine is set as drive Z with 100 MB capacity. I guess your app might
be the problem. Maybe post some code that we can test with our own
ram disks?
eriksradio
User
User
Posts: 30
Joined: Tue Sep 09, 2003 11:44 pm
Location: Queensland, Australia

Post by eriksradio »

Thanks for the ideas.
I have 512 RAM. Only my PB program has trouble with the RAMDISK.

I tried the other RAM disk, it seemed to install OK but never showed
itself in the filemanager. I tried many times. Sometimes these RAM disks
can be a bit touchy.

The program is too large to post here and needs all the include files for
the source to work. The exe file is about 360K, so try it and see if it
will at least boot completely. I will send it personally. Thanks.
Post Reply