Why does REDUCING Page File size eliminate an "Out of Memory" error?

R

Richard Thomas

I've discovered that a false "Out of Memory" error generated in Windows XP,
can be "cured" by REDUCING the pagefile size, but I don't know why.

I am attempting to run an old program, Midisoft Studio 4.0, on a Windows XP
system.

Although my "Out of Memory" problem relates to a specific piece of
software, Midisoft Studio 4.0, other old software applications may also
experience this same problem.

The really surprising thing is that two separate new Dell systems, each
running an updated Windows XP Pro OS, respond differently for this old,
simple piece of Windows 95 software!

Software:
Midisoft Studio
Studio 4.0 for Windows 95 (with updated executable for Windows 98)
Orginally created in 1995 by the Midisoft Corporation

Machine No 1:
Dell Dimension 8300, with 1024 MB DDR RAM.
Intel Pentium 4 3.00 GHz
Memory: 1024 MB Memory (RAM)
Operating System: Microsoft Windows XP Professional
Video: ATI 9800 Radeon Pro (128 MB)
Sound: Soundblaster Live! 5.1 Digital

Paging file:
Custom size:
Initial size (MB): 1536
Maximum size (MB): 3072

(The recommended size is 1533 MB)

I have used this program for many years. First under Windows 95, then under
Windows 98. (Midisoft issued an update of the Studio.exe file that was
required in order for it to run properly under Windows 98.) I have now
upgraded to a Dell Dimension 8300 with 1024 MBytes of RAM and the Windows XP
Operating System.

The files created by Midisoft Studio 4.0 are saved in Midisoft's own *.sng
format; however, standard *.mid files can also be opened. Files in *.sng
format retain the key, clef, and other notation, which is lost if the file
is re-saved in *.mid format. When the file is opened, Midisoft presents the
file in musical notation. It will also show the lyrics if any have been
added.

After I put the software on the new Dell Dimension 8300, the program could
be opened, and notes placed on the staff. I could also open small *.sng
files. However, if the *.sng file encoded more than a few measures of
musical notation, I would get "Out of Memory" errors, and the file could not
be opened.

I tried numerous "Compatibility Settings" and even used the "Compatibility
Wizard" (which doesn't seem to do much more than what one can do oneself),
but none of the "Compatibility settings" I tried would fix the "Out of
Memory" problem.

After searching Google Groups, I found a possible cause of this error.

There were some postings that claimed that some old Windows applications
can't cope with a Paging file that exceeds 512 MB in size.

My new system was originally set up by Dell to use the following
Paging file:
Drive: C Space available: 49469 MB
Custom size:
Initial size (MB): 1536
Maximum size (MB): 3072

(The recommended size is 1533 MB)

I reset the size of the paging file to:
Initial size (MB): 511
Maximum size (MB): 512

With the above settings Midisoft Studio 4 can open any of my *.sng files and
operate correctly! REDUCING the page size makes the "Out of Memory" error
go away!

From the above, I suspected that the Windows XP OS was at fault, but tests
on another new Dell system, indicates that the situation is more
complicated.

Machine No. 2:
Dell OptiPlex GX270
Intel Pentium 4 3.00 GHz running at 2.92 GHz
Memory: 512 MB Memory (RAM)
OS: Microsoft Windows XP Professional
Version 5.1.2600
Video: NVIDIA GeForce4 MX 440 with AGP8X
Sound: Analog Devices, Inc.
SoundMAX Integrated Digitial Audio

Paging file size:
Initial size: 768 MB
Maximum size: 1536 MB

Recommended size: 765 MB
Currently allocated: 768 MB


Since my "fix" of reducing the maximum page size to less than 512 MB worked
for the Dell Dimension 8300, I thought it was Windows XP that was the
culprit.

To test that assumption, I brought my program to work. I just got a new
computer there also.

It's a Dell Optiplex 3 GHz with 512 MB of RAM as contrasted to the 3GHz Dell
Dimension 8300 with 1024 MB of RAM that I have at home.

Another important difference is that the Dell 8300 has an ATI 9800 Radeon
Pro (128 MB) while the Optiplex has an NVidia video card. The sound
capabilities are also different. (The "Out of Memory" error occurs before I
attempt to play any sounds, so the Soundblaster Live 5.1 card drivers aren't
high on my list of suspects.)

The Optiplex has its page file set to:

Initial: 768 MB
Maximum: 1536 MB

(Currently 768 MB).

So my Midisoft Studio 4.0 application should fail right on my work machine
too, right?

Well, I "installed" the Midisoft Studio 4.0 program. (Here, installing means
copying the program onto the hard disk, adding the music font file to the
fonts, and copying "studio.ini" to the Windows directory.)

Then I opened the same *.sng file that wouldn't work at home when the
minimum page file was larger than 512 MB.

It opened just fine! No "Out of Memory" error.

So the problem isn't Windows XP, or, at least, it isn't Microsoft XP alone
that is causing the problem.

The problem must be due to something about the particular combination of
the XP Operating System, Midisoft Studio 4.0 software and the specific
hardware that I have at home that is "fixed" when the page file is REDUCED
in size. But there are enough things different about the system at work
that the same software can operate correctly with a Paging File that is
larger than 512 MB.

I suspect the video card drivers, since the first thing that happens when
you open the file is that a lot of notes get displayed. But who knows?

I set the exact same page file sizes on my home machine as were on my
machine at work, and I immediately get "Out of Memory" when I open the SAME
large *.sng file at home, (where I have MORE physical DDR RAM).

Same software application (Midisoft Studio 4.0), same operating system (XP),
opening the same file, on computers that have been set to use the same page
files sizes (768 / 1536); but different results.

But if reducing the Page File size to 512 MB max, fixes it for my home
computer, I guess I'll live with it.

I might be able to narrow it down by swapping the video cards and drivers
between the two machines, but I don't think my employer would approve of my
performing that test, especially if it "broke" the work machine.

Does anyone have any idea what it is about the Dell Dimension 8300 system
that causes it to fail? Is there some debug progam I could run to figure it
out.

Thank you.

Richard Thomas
 
R

Richard Urban

If you do not have sufficient space on your drive to hold either the minimum
pagefile, or the maximum allocated size, you may well get these error
messages.

--
Regards:

Richard Urban

aka Crusty (-: Old B@stard :)
 
G

Guest

Hi,

It is also that the pagefile has been corrupted.
Changing the amount of page file would rebuild the pagefile.

Peter


----- Richard Urban wrote: -----

If you do not have sufficient space on your drive to hold either the minimum
pagefile, or the maximum allocated size, you may well get these error
messages.

--
Regards:

Richard Urban

aka Crusty (-: Old B@stard :)
 
W

Wislu Plethora

-----Original Message-----
I've discovered that a false "Out of Memory" error generated in Windows XP,
can be "cured" by REDUCING the pagefile size, but I don't know why.

I am attempting to run an old program, Midisoft Studio 4.0, on a Windows XP
system. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZZZZZ...
 
R

Richard_A_Thomas

A lack of sufficient space on the drive to hold the minimum pagefile (or
maximum allocated size) can NOT be the cause of my problem.

The size of the disk partition is 55.8 GB. Only 6.74 GB are used, so there
are 49.1 GB of free space. This is much more the minimum or maximum
pagefile size.

Richard Thomas
 
R

Richard_A_Thomas

If the problem was caused by a corrupted pagefile, then why does it ALWAYS
return when I increase the pagefile size to more than 512 MB and ALWAYS go
away if I reduce the maximum size to 512 MB or less.

This is a very reproducible problem. If it were due to a corrupted pagefile
size, I wouldn't expect such consistency.

Richard Thomas
 
A

Aaron

AH HA! I have the exact same problem with MIDISoft Studio 4, and I'v
been looking for the solution for a long time... Interesting
though... I have my page file -disabled- (1.5GB RAM installed). I als
have the problem with Studio Ensemble 2003 XP (an upgrade to MIDISof
Studio). I'm gonna try messing with my page file to see if I ca
correct the problem... that never occured to me before.

Does anyone know if it is really a good idea to run with no page file?
I figured I don't need it with 1.5GB of RAM, and it would just be
potential bog on the system.

[Edit]

I set the page file to "System Managed Size" and it corrected th
problem with both programs. Studio Ensemble 2003 XP had many thing
wrong with it besides being unable to open a MIDI file (it wa
completely unusable) but now it seems to work fine.

I'll try and get in touch with IDD about this..

Aaro
 
V

vharshyde

Actually, I had the same problem with the same setup. Ironically, it
does it with several different rigs... As Follows...

On my old WIN2k System, having more than 256mb of physical memory
installed caused Midisoft to generate the "out of memory" message. Yes,
I'm using Studio 4. This corrected itself, apparently, as the program
became useable over time. I'm not sure why.

On this XP Professional system, installing a second 512mb strip caused
Midisoft to begin generating the same issue. Same thing happened with
my other XP case, which also uses a full 1gb of ram. Oddly enough, this
also corrected itself, seemingly with the introduction of an internet
connection. i didnt reduce any pagefile sizes, I didnt change any
windows settings. This seems more than a little odd to me, as programs
usually arent built to repair themselves, especially programs built for
Windows 3.1
 
Joined
Jan 2, 2008
Messages
1
Reaction score
0
Hey all! I've been having a similar problem with my newly acquired Dell Inspiron 5100, and I have NO idea how to do much of the stuff you guys are talking about. I know HOW to access the pagefile, and I've tried setting it to 512 MB and all sorts of numbers, but to no avail. I imagine it's because I don't know WHAT to set my specific settings to.

As such, if someone here could check my statistics and let me know about what I should set my pagefile settings to, I'd be much obliged. I wouldn't be asking for such a dumb favor, and usually hate to impose, but I'm 18 years old and my expertise is more with music and art than programming and working with computer memory... as such I seek the guidance of those that know MUCH more than myself.

Dell INSPIRON | 5100
Intel Pentium 4
2.66GHz, 1.25 GB of RAM
Windows XP
Sigmatel Audio

2.12 Gig of Free Space
27.8 Gig Total Space on C
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top