PDA

View Full Version : PJ64 v1.5 final "FAILED TO ALLOCATE MEMORY" solution



Athabaska
September 12th, 2002, 13:11
Dear friends:

About a couple of weeks ago, I wrote a thread asking for the "FAILED TO ALLOCATE MEMORY" error.

Well, now, after a bit work with the OS and the emu I have to recognise that it wasn't an emu fault but my fault. I think that I have to say this because all of we like when we are right but we have to recognise too when we go wrong.

Once say this, this is what I did to have the emu working:

1.- I reinstalled the OS and format the hard drive to FAT 32 file system (I had it on NTFS).
2.- I checked the TASK MANAGER and look how many MB were initialized when starting windows. When I got the emu not working, the among of MB that were transferred at starting were ¡¡¡ 180 MB !!! :blush: (I know what are U thinking, but let me end the story before laugh on me...). After reinstall the OS, I left the MB transfer in about 90-100 MB when starting windows, and now the emu works really fine!!! :thumbsup:

Since it is explained at the online help of this PJ64's version, the emu needs about 70-110 MB to work fine. Despite I have 384 MB, before the reinstall of the OS there was only 200 MB to run the emu. Now I have almost 300 MB.

Well I don't know yet if the solution is to convert the hard drive to a FAT 32 file system or to leave all the unnecessary tasks that windows starts with to free a lot of memory. So I tried both and now the emu works great!!! This means that it wasn't a compatibility tab problem (I think...).

That's all! Congratulations once again to the PJ64 team and thanks to all of U who cared about my problem and tried to help me.

See you! :bunny:

[OH! Excuse me... My system:

- P4 1.6 GHz
- 384 RAM
- GeForce 2 MX 400 32 MB with Detonators 40.41 beta
- Windows XP Home Edition
- Direct X 8.1
- ADI SoundMAX onboard audio chipset

:sleepy: ]

RJA
September 12th, 2002, 20:26
The failed to allocate memory error is caused by (probably) by
virtual memory disabled, or the page file is not at least
192+ MB.

With Windows 2000/XP, I recommend NTFS.

You now should reconvert to NTFS, now that the pagefile is at least at the minimum.

Athabaska
September 12th, 2002, 22:09
Hi RJA:

I am not sure at all that the problem was the page file. See, when the emu was not working my page file was of 576 MB (minimum) and I haven't change this value after reinstall the OS and make the things I describe above (and now the emu works great!).

In the other way, as I told before, I am not sure that the solution was to convert the file system to FAT 32 (if it was it would be just like a bad joke, you know...), so I think it is more a RAM usage problem, but I am not an expert. If after reinstall the OS and free RAM at the windows startup the emu would have fail, I wouldn't know in no manner which would be the real cause of it.

About your recommendation to convert again the file system to NTFS, I am on the way ;) but thanks to remember. When reinstalling the OS (it is a pre-installed version on an IBM computer) the default file system is FAT 32 (this is due to a disattended installation), and now I am testing with this file system, though I like the security options and speed increasing of the NTFS system, but I am still waiting for the WXP Spanish SERVICE PACK-1 to convert it. This is because I am from Spain... :happy:

Well, for me the solution about this error is just like a magical and computer mistery...

[PS: to disable the programs at the startup, I didn't use the MSCONFIG application, but the REGCLEANER one. I also disable non necessary services to free more RAM. Maybe this is not the reason of the error solution, but it seems to be...

If you or anyone of you readers have got the emu working after this error, it would be helpful for some other people with the same problem to post what did you do to get the emu working...

Well, thanks a lot to all of you. Ciao! :bunny: ]

Trotterwatch
September 12th, 2002, 22:39
Just a warning - if you use the CMD line FAT32-NTFS converter then the NTFS cluster size will be ridiculous, and will impact performance. So either use a specialised program to do the conversion (I think Partition Magic does it well) or alternatively live with the performance loss!

Smiff
September 12th, 2002, 23:03
I think all we can say for sure at the moment is that it's an OS problem of some kind; PJ64 does have high resource usage. I will add any possible solutions to the FAQ, thanks.

Athabaska
September 13th, 2002, 10:22
TO TROTTERWATCH:

This is about the conversion to the NTFS file system. The first time I did the conversion (long ago before reinstalling windows and test the emu) I used the command CONVERT from the windows system console (I mean the MS-DOS emu that comes with the XP). Since you advise me as well as other friends of mine, I will try to use the command FORMAT for the next time because I have the original applications (most of them freeware :blush: ) and a useful back-up of the files. So I hope I could do a clean reinstall of the OS (it takes about 50 minutes for windows and an hour to install the applications and configure the system as well as the user accounts), but as I told before, I am still waiting for the Spanish SP-1 which is not have been realised yet.


TO SMIFF:

I don't know if this would be helpful or not, but these are the startup windows applications I removed as well as the services:

1.- Applications removed:

- (without name): USB Logitech Wingman RumblePad
- RunDLL32, NvCpl, nwiz: NVIDIA Detonator's apps.
- Microsoft Office: Office XP startup.
- qttask: QuicTime 6 tray.
- NeroCheck: Nero 5.5 startup.
- ElbyCheck, CLoneCDTray: Clone CD 4.0 tray and startup.
- SOIntgr: StarOffice 5.2 startup.

2.- Services removed (disabled from the My Computer system manager):

- Machine Debug Manager
- NVIDIA Driver Helper Service

3.- Applications I have on windows startup:

- ctfmon: Don't know yet... :D
- msmsgs: This is the MS Messenger, I think (and I think this could be removed too, but I am not sure).
- tidslmon: This is from a USB DSL modem.
- LXSUPMON: This is from a Lexmark USB printer.
- navapw32: This is the Norton Antivirus 2002.

4.- Additional services I have on windows startup:

- Norton Antivirus Auto Protect Service: For the LiveUpdate feature.
- LexBce Server: For the printer.

So, as I told before, these applications and services are about 90 to 100 MB of RAM usage (which means about a 25% of the total memory I have). This maybe would mean that the emu needs not the other 75 % but the 50 %, but this is still a bit strange since other people have got running the emu with 256 MB or so... :plain:

Well, excuse me the length of the reply. I only try to be helpful to anyone with the same problem and I hope there could be something right in my experience to be advantageous for other users.

Thanks again!!! :bunny:

Laahel
September 13th, 2002, 10:32
hellow

nice to see this thread, i'm not the only one ;p

the weird thing is that, all previous version of the emu works fine for me ... an the latest version ... well .. it worked when i had installed it ( the day it came out ), and 3 or 4 days age, i had the memory error. wht i don't understant, is that i didn't do nothing to my system, installed no new softwares or components.... i' m lost on this one ... ( this happens only on win98, win2k works fine, but the emu is a little slower ... )

it reminds me that autoframeskip would be a great feature ;p hihi

byeee

Athabaska
September 13th, 2002, 10:42
Yep there, Laahel!

You are right when you say that this problem was not present in previous versions of the emu, because, despite my 180 MB of RAM usage I had before, the 1.4 version and the 1.5 beta 1 worked really good.

But I think that this new version of the emu, which improves noticeably the overall performance (despite little bugs) when running demands a lot of more resources that the previous versions.

So if you have this problem, maybe reinstall the OS and free RAM as much as you can could resolve it. Just try it and if it works, this will be helpful to the PJ64 developer team as I won't be the only one... ;) !

See you! :bunny:

Athabaska
September 13th, 2002, 23:46
Dear friends (again):

Well, I'm coming from testing the emu with my hard drive successfully converted to NTFS file system with Partition Magic 7.0 (as Trotterwatch recommends me -thanks for the advice ;) ) and after upgrading windows to Service Pack 1 (YES! Finally the Spanish version is out! :happy: ), and I haven't had any "FAILED TO ALLOCATE MEMORY ERROR" , so I have to believe that it wasn't a compatibility file system problem (as much of you can expect) but a memory usage problem with the windows startup applications (for the moment)...

The system for the test is the same of the message above (with the WXp SP1 installed) but I haven't notice any remarkable change both in performance or working.

Well, if it works for me, maybe it can work for you! Just try it and post the results here.

See you soon! :bunny:

Laahel
September 14th, 2002, 00:01
hey ;p

for me no problem with the ntfs since the start, win2k works ok ( i've some bugs, but it my system ;p) ...

what i really don't understand is why, on my win98se, without doing nothing, one day it works, and suddenly, it stopped and show the error ( it is far beyond my logic ;p but i'm sure its in the logic of my #@!* win98 ;p arf )... seem a reinstallation is in the works... ( just need to find where i put my win cd and bye another hard drive becose mine collapsed grrrr no luck :p)

byeee !!

Athabaska
September 14th, 2002, 00:11
Hi Laahel:

Well, certainly the file system has nothing to do with the emu to work as I explained before...

... and yes! It seems that for your system has arrived the reinstallation time ;) .

Good luck anyway!

See you! :bunny:

jvolel
September 14th, 2002, 00:58
Originally posted by Smiff
I think all we can say for sure at the moment is that it's an OS problem of some kind; PJ64 does have high resource usage. I will add any possible solutions to the FAQ, thanks.

high resource usage eh :plain2: so i guess we shouldn't have any other programs running when using pj 64.

Smiff
September 14th, 2002, 01:09
yes.. it's a beast. (better a beast from the east than a vest from the west ;) )

Laahel
September 14th, 2002, 17:23
arf..

Athabaska

you've just kill myself ;p

:bunny:

Athabaska
September 14th, 2002, 20:15
Hi everybody out there:

I have to say that it was MY experience with the emu and the known error...

... and as you should know, the marvellous and shining world of the computers is the only world when it is possible that A is not equal to A . I mean that what I did may not be enough for other system to get the emu working... :o

To Laahel:

Be patience mon ami (amigo mío ). Here I have a pair of ZEN tablets and a beatiful book about the worldwide known "monastic way of life" ... ;)

Sure you'll do your job (and reinstall the OS... :!!!: )

Greetings! :bunny:

Athabaska
September 14th, 2002, 20:21
To SMIFF:

Not only a beast, mon ami ...

... it seems we have a kinda T-Rex here :!!!: !!!

See you! ;)

Laahel
September 15th, 2002, 15:24
i'll do my job, for sure, it won't be the first time, and it won't be the last ;p

i'll be patient, with CHOCOLATE tablets ;p

bye

Athabaska
September 15th, 2002, 18:15
Hi Laahel!

I hope your system is right now to test the emu again. Please, post here your results. I hope they'd be good.

Bye! :bunny:

Laahel
September 15th, 2002, 20:38
helas.....Athabaska

i lent my hard drive to a frien for his wor and.... is whole pc collapsed, so, for a complete re-installation, i should wait for him to bough another HD :( . i should wait for days or weeks...., that's why i said i'll be patient, snif .....

( but i continue to seek my current system, to see if i can found a way to make the emulator run :p )

i'll post here if if find something

bye

Athabaska
September 15th, 2002, 21:35
Hi Laahel!

Well, I am so sorry about your HD, though I think that you are so so sorry about the HD than me... ;)

Anyway; don't forget the ZEN tablets and, in a montypythonian way "see the bright side of life" ... :happy:

About your current system (the Win2K, I guess), I can no offer more help than the previously explained.

Maybe, it will be a good idea to remove completely the emu and reinstall, not only by introducing the registry keys that comes into the "Uninstall" folder of the emu, but by using a stunning program like the REGCLEANER (here is the web: www.jv16.org (http://www.jv16.org) , just look at the 'My programs' section at the top left). After using RegCleaner it also would be a good idea to run the REGEDIT and search for "project64", "jabo", "n64", "daedalus", "nrage", etc... just to remove not only the program but also the plugin's configurations.

Hope this could help. Be patient. Here in my land we say:

La paciència és la mare de la ciència

which means:

Patience is Science mother

Well, care yourself and say something when you got a test.

Waiting for your results... Good luck, Laahel!!! :thumbsup:

See you. :bunny:

Laahel
September 17th, 2002, 11:17
I made it work !!!!! whaaa, and without reinstalling !!! few

hello guys...

i finally made it work in my win98 system... didn't know if i found a solution, but i'll explain what i did :

my system : Athlon 1GHz, 256 Mb SDRAM
i usually have 64% of free mem when i start my system, after all the applications are loaded....
i closed all the applications running in the task bar ( exept soud, joystic ;p and clock ... the emu did'nt start, arf, so i made the contol+alt+sup to see all the task running, and closed many of them manually.... ( some gave me error not responding, hum hummmmm ;p) .... i free 80% of my mem ....
the emu started again ( haaaaaa :happy: )... reboot my pc ... didn't start again with the 64% mem ( hoooooo :( ) so .... i made the control alt sup again, and i close the "savenow" application that was installed i cant remember when, cauze, i never asked for it..... the application not responding... and ... whaaaa, the emu started again with 65 % of free mem .....:cool:

weird huh ??? ( now i need to know why i have SaveNow, and if i really need it in my computer :p )

coninue my tests ;p

byeeee thanks


whoooops !!! just made some tests, the savenow does nothing..for now i need to close a task named " Internat " to make the emu running... the application shows a not responding window.... i have no clue of what is this application .... any idea ??

btw i have many application not responding in the contr+alt+sup window....don't know what many of these do... but, if all the people having the memory error has such task not responding, maybe this could be a solution ;p

Doomulation
September 17th, 2002, 12:28
I know that applications that are "not responding" cause a problem or two. Best is to terminate these programs. Usually, a frozen program that isn't "responding" often causes other programs not to start.

Well, apparently a good thing to get it working would be to terminate as much services as possible.

Trotterwatch
September 17th, 2002, 12:36
Info regarding SaveNow:

http://www.safersite.com/PestInfo/S/SaveNow_Adware.asp

Try running Adware from:

http://www.lavasoftusa.com to eradicate this menace!

Laahel
September 17th, 2002, 12:55
it's me again....

i've tried to make all the contrary as previous : i opened as much as application as i could ( not so many thoug ;p ), in order to have only 18% of my mem free .... the emu works ok, so it's not as hungry as it seems before, the real problem with this version seems to be with app not respondig ( the previous versions were ok )

i'll continue to open programs to see of far i can go ;p

ps : so if i've understood, savenow is an adware ?? grrrr :devil:

UPDATE : i've just finiched using RegCleaner and Ad-Aware to clean my system... all is cleaned but a single task : Intarnat ... it seems to be a sleeping task, and it not responding. I must kill this task every time i start my computer in order to make the emu work... after that, it runs ok ....

but can't find what lauch this task, so i always have it on startup, grrrr, and don't know what it does.....

btw, people with the memory alocate problem should look at the running task, and especially, the sleeping ones, real bitches ;p

Laahel
September 17th, 2002, 17:56
ha, i finally foud this " Internat " task !! its made by internat.exe, in my system directory .... the properties told me that this application is wor win NT !!!:plain2: .... what did it do on my win98 ???? renamed it so it won't be used anymore and... well, both my win98 and 2k seems to works ok, and the emu itou....

win2k has this app too, but for 2k, not nt and it's not loaded at the start...

if someone has any idea, why this file is on my 98 system and what it do, thanks in advance....

but now, hey, the emu work, no more memory error, yeaahhh !!!!:cool:

Smiff
September 17th, 2002, 21:17
er internat might be internet connection sharing

Laahel
September 17th, 2002, 23:53
hoooo !! it could make sence since, in my system panel, the connection sharing, seems to always have a problem ( donno why ) and put a " ! " anything i do.... hum hummmm....

Athabaska
September 18th, 2002, 12:09
Laahel friend:

Congratulations for you and for your explanations on how to get the emu working (without reinstalling!).

Hmmm... Sleeping applications :!!!: ... well, maybe that's the problem and the solution :happy: (I don't know how many sleeping apps did I have before reinstalling the OS :blush: but maybe I had a very nice ones... Well, I don't know yet).

Nevertheless, reinstalling the OS, due to his nature, seems to very well correct these problems too... ;)

About the sleeping INTERNAT.EXE, I have to say that I never have heard of it before :plain2: but let me tell you that maybe there is no need to rename the app. Maybe (yes, I said "maybe") you can remove it with the RegCleaner (look at the STARTUP tab). I tell you this because, when installing MS Office (for example), a Microsoft Office app is put on the startup and, despite you remove it with the MSCONFIG, when rebooting the app is there again :plain2: . Removing it from REGCLEANER makes it completely disappear (and without renaming!)

Anyway Laahel, congratulations again and enjoy!

See you! :bunny:

Laahel
September 18th, 2002, 21:21
thanks to you all guys who helped me ;p

btw the problem with internat.exe is that it doesn't appear in regcleaner !!!! thats why i renamed it... i 'll put it again, now that i have deleted my connexion sharing, to see what it do and if there is a connexion ;p

UPDATE : youhouuuu !! juste restarted, and the app is no more loaded ! so, it should really be affiliated to the connexion sharing... since myne was always bugged ( dunno why ), the app is not responding, and the latest verison of pj doesn't like this app not responding, fo sure ;p....

well, for the reinstall, since i have no more my CDs an HD, well, my only choise was to try anything and everything ;p PERSEVERENCE is the word :devil: am i the devil ?? :pj64:

byeeee