Three possible causes of "failed to allocate memory"
I've had the infamous "failed to allocate memory" error spontaneously occur after PJ64 ran fine for a while. I can think of three things that I did that may have induced the error:
1) I changed my display drivers (my video card's an NVidia GeForce2 MX400 based card) from Windoze's drivers to NVidia's lastest drivers. I doubt this is the cause, but it's possible. I'll try reverting back to the old drivers to see if this fixes the problem.
2) I applied the DirectX patch to update from version 9.0b to 9.0c. I'd bet dollars to donuts that that induced the problem.
3) I've refused to install SP2 up to this point, but I have installed all of the other "optional" patches/updates/security fixes that are available. One of those might have created an error condition too.
So, does this clue anyone in to a possible fix?
Last edited by struct : October 27th, 2004 at 22:49.
This bug just seems to happen from time to time and it's next to impossible to get rid of. I had it and the compatibility mode stopped it. Then I formated and didn't even get the problem. Very hard to pinpoint this bug as a result.
This bug just seems to happen from time to time and it's next to impossible to get rid of. I had it and the compatibility mode stopped it. Then I formated and didn't even get the problem. Very hard to pinpoint this bug as a result.
Yeah, the emu ran for me in Win98/ME compatibility mode, but it ran oh-so-slow and the sound kept stuttering. I tried reverting back to Microsoft's distrib of my video card drivers, but that didn't solve the problem, so I'm almost positive that installing the DirectX 9.0c patch is the root cause.
I also think that DirectX 9.0c could be involved, as since SP2 was released the number of users reporting the bug has indeed gone up. It works fine for me now, I did a clean install of Windows and installed SP2 straight after with a Microsoft disk. Slipstreamed disks will probably work too in avoiding the problem.
You could uninstall SP2 and reinstall, or format if this is a viable option. I strongly recommend you get a free SP2 installation disk from Microsoft to avoid possible corruption when downloading if you haven't ordered one.
My old computer always had the error and still does, even now that it has 768MB physical memory and an 80GB HDD.
My laptop, OTOH, with 512MB RAM and a 50GB HDD does not have the issue.
So much for memory...
--------------------
-Tagrineth, flying above at the speed of an African swallow, because European swallows are wimps!
'What happen ?' 'Somebody set up us the bomb.' 'We get signal.' 'What !' 'Main screen turn on.' 'Its you !!' 'How are you Gentlemen?' 'All your base are belong to us.' 'You are on the way to destruction.' 'What you say !!' 'You have no chance to survive make your time.' 'Ha ha ha ha ....' 'Captain !!' 'Take off every 'ZIG' !!' 'You know what you doing.' 'Move 'ZIG'.' 'For great justice.'
I have only gotten that error in PJ64 1.4....are you sure you have the latest version 1.5 with the sp1 update?
Actually, with Project64 1.4, you have gotten the error message, "Error Not enough memory for rom." which is NOT the same as "FAILED TO ALLOCATE MEMORY" with Project64 1.5 final. The two error messages I mentioned have different meanings.
"Error Not enough memory for rom." means that there wasn't enough memory space for a certain ROM to load, thus you can still use Project64, but can't play all of your games.
"FAILED TO ALLOCATE MEMORY" is completely fatal. It means that Project64 wasn't able to find enough memory space for itself. When you get the message, "FAILED TO ALLOCATE MEMORY", you can't use Project64 at all.
When you get the message, "Error Not enough memory for rom.", it's still possible to run another Nintendo 64 ROM instead with Project64.
The error message, "FAILED TO ALLOCATE MEMORY" seems to be introduced with Project64 1.5 final.
Project64 1.4 has a different bug, which was related to running Nintendo 64 ROMs bigger than 32 MB with some PCs.
--------------------
"Sorry about that, old chap." -Conker
Asus P5QL Pro
Core 2 Duo E4500 OC'ed to 2.76 Ghz (345x8.0) (testing)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)
-->Working better in GNU/Linux than in Windows