project reality header
Go Back   Project Reality Forums > Project Reality Support > PR:BF2 Support
01 Nov 2014, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Support Help and support regarding PR:BF2 installation and in-game issues

Contact Support Team Frequently Asked Questions Register today!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 04-07-2012, 06:15 AM   #1
fatgyver
Angry [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Hello.

My problem is that everytime i try join in server in BF2/PR it throws this error and crashes: (sometimes right away, sometimes 10secs after black screen)



that number changes everytime

And i have noticed that Connecting to account server takes much longer to login that before.. like 2-4minutes.

ONCE i have gotten in server with BF2, and even then it had black screen for like 5mins and then joined game without even showing loading screen.

I have tried defragging hardrives and checked viruses and tested rams and tried with only 1 ram etc.
Tried disabling soundcard.
Added more/less pagefile.
Reinstalled bf2/pr and uninstalled Punkbuster many times with different ways and installed it manually/automatically...
Tried compatibility modes and runned administrator..
Tried 4gb exe patch for bf2/pr executables.. ..
Did clean up computer from dust..
Disabled UAC and firewall and antivirus.


And theres nothing interesting in event viewer.

and none of things i have checked in google has worked for me..

Could it be issue with my 3g modem or something..? Because i think connecting to account server that long is not normal and is related to issue BUT NOT SURE.


PC:
4gb RAM
AMD Phenom II x4 920 Processor 2.80Ghz
Win 7 64-bit
Ati radeon hd 4800

This game has been working with no problem for long time, last time last week but this thing started happening this week. (tried restoring windows to restorepoint 2 weeks in the past, sorry my english lol)
fatgyver is offline
Old 04-07-2012, 06:55 AM   #2
fatgyver
Angry BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Hello.

My problem is that everytime i try join in server in BF2/PR it throws this error and crashes: (sometimes right away, sometimes 10secs after black screen)



that number changes everytime

And i have noticed that Connecting to account server takes much longer to login that before.. like 2-4minutes.

ONCE i have gotten in server with BF2, and even then it had black screen for like 5mins and then joined game without even showing loading screen.

I have tried defragging hardrives and checked viruses and tested rams and tried with only 1 ram etc.
Tried disabling soundcard.
Added more/less pagefile.
Reinstalled bf2/pr and uninstalled Punkbuster many times with different ways and installed it manually/automatically...
Tried compatibility modes and runned administrator..
Tried 4gb exe patch for bf2/pr executables.. ..
Did clean up computer from dust..
Disabled UAC and firewall and antivirus.

And theres nothing interesting in event viewer.

and none of things i have checked in google has worked for me..

Could it be issue with my 3g modem or something..? Because i think connecting to account server that long is not normal and is related to issue BUT NOT SURE.


PC:
4gb RAM
AMD Phenom II x4 920 Processor 2.80Ghz
Win 7 64-bit
Ati radeon hd 4800

This game has been working with no problem for long time, last time last week but this thing started happening this week. (tried restoring windows to restorepoint 2 weeks in the past, sorry my english lol)
fatgyver is offline
Old 04-07-2012, 11:04 AM   #3
[R-COM]LITOralis.nMd
Lead Support Technician
Project Reality Beta Tester
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

First, welcome to the forum.
second, thank you for searching out possible solutions before asking for help on the forum.

Do you have automatic updates for your Radeon video card drivers?

Have you played any vanilla BF2 recently?
This was a problem for many years,
easy solution is this:
GO to My Documents\Battlefield2\ and copy you Profiles folder to a backup location of your choice,
Remember your account information (usernames/passwords) , write it down somewhere.
delete the \My Documents\Battlefield2 folder.
start vanilla bf2.
Log in to multiplayer server.
Adjust your audio/video options to your preferences.
shut vanilla bf2.
start PR.

that should fix this.

(I do not know which files inside My Documents\Battlefield2 is the culprit, maybe someone else can explain this)


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-COM]LITOralis.nMd is offline
Old 04-07-2012, 12:26 PM   #4
fatgyver
Thumbs up re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Quote:
Originally Posted by [R-COM]LITOralis.nMd View Post
First, welcome to the forum.
second, thank you for searching out possible solutions before asking for help on the forum.

Do you have automatic updates for your Radeon video card drivers?

Have you played any vanilla BF2 recently?
This was a problem for many years,
easy solution is this:
GO to My Documents\Battlefield2\ and copy you Profiles folder to a backup location of your choice,
Remember your account information (usernames/passwords) , write it down somewhere.
delete the \My Documents\Battlefield2 folder.
start vanilla bf2.
Log in to multiplayer server.
Adjust your audio/video options to your preferences.
shut vanilla bf2.
start PR.

that should fix this.

(I do not know which files inside My Documents\Battlefield2 is the culprit, maybe someone else can explain this)

!!
Millions of thankses to you.

I tried this thing before but didnt work, now i started bf2 first then pr now it works thx
fatgyver is offline
Old 04-07-2012, 04:08 PM   #5
fatgyver
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

welll.. damn... it worked but not it works very rarely and randomly.. hmm O.o

:///////

updated graphic card too yes .. :/
fatgyver is offline
Last edited by MaSSive; 04-08-2012 at 04:31 AM.. Reason: duplicate posting use EDIT button.
Old 04-08-2012, 04:35 AM   #6
MaSSive

MaSSive's Avatar
Send a message via Skype™ to MaSSive
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Please use EDIT function on your last post, do not make mulitple duplicate ones.

You mentioned you use 3G Modem? That might be a problem, its a instable connection and login might takes long becasue of it.

Go to Speedtest.net and measure your bandwidth, then go to Pingtest.net and measure your line quality.

After each test click share and post results here.

We might test more things after this with tracert.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

CATA4TW!
MaSSive is offline
Old 04-09-2012, 03:56 AM   #7
fatgyver
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Speedtest was fine..




but here this packet loss test failed everytime, tried few times.


EDIT: Tried pinging google on cmd, no packet loss problem there. On that pingtest site it was just because of some port not open or something.


Its like i have to try to restart game 20 times and join server 20 times to luckily get in.
fatgyver is offline
Last edited by fatgyver; 04-09-2012 at 04:15 AM..
Old 04-10-2012, 05:20 PM   #8
Bemetson
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Hello dear support community, I would like to address my problem here too as I have the same issue and everything happened in the past week like to fatgyver.

I noticed this problem after having a week pause from PR and did a full virus scan, after that I tried the game and this problem showed up. I have re-installed BF2 and PR at least three to four times and the problem still exists. When I did my re-installation I followed all instruction to restart my computer after installation and every time I re-installed I made sure there was no trace of BF2 folders in my system and I cleaned the registry manually. I have also tried installing BF2 in different folders and still nothing. And I do own a legal copy of BF2. During the installions I had disabled all external programs running background and also disabled my anti-virus. I had also installed BF2 once in safe mode and tried compability modes and disabling Windows' visual effects, still nothing.

I don't remember installing any new software or updated windows during the week. I have done registry checks and cleaned them with a program called Eusing, a free utility, and I have run a memtest on my RAM and the test result came clean.

My PC specs:
CPU: AMD Phenom II 965 Black Edition 3.4 GHz
GPU: ASUS GTX-460
RAM: 8GB (don't remember manufacturer but I strongly believe it's Kingston)
PSU: 850 W
MB: ASUS M4A88TD-V EVO
HD: 1 TB (I don't remember the brand nor the manufacturer|||Page file is system set, around 8 GB)

I also use 3G modem to play PR and it has run perfectly fine since 0.95x, here are the result from Speedtest: http://www.speedtest.net/result/1886899033.png

One thing to mention: I am able to play this game offline, meaning, playing local (BF2 and PR). The game will load and optimize shaders even on maximum settings and I am able to play with bots. However, when I join a multiplayer server, it either hangs after I click the "Join server" or the memory error pops out after a few seconds of pressing the button. Also when I favourite a server and check it back on the Favourite section, the server shows there as dead but after clicking it, it shows all the information on the server but no ping or anything as it is red instead of being green. This occurs after patching the game to 1.5. On the disk version (1.1) server shows as green and functions properly. I downloaded fresh 1.41 and 1.5 patches after the clean install to avoid any file corruption on the old files I have kept on my USB stick and my computer for almost two years. When trying to join the server I have tried disabling firewall and anti-virus with no avail. Oh, and I have also deleted my Battlefield 2 folder manually and with BF2 cleaner, and tried to join a server but still the memory error persists.

I hope a fix to my problem could be found and there are no hardware issues on my system as every other game, such as Battlefield Bad Company 2, Battlefield 3 and Minecraft, work well. And my HW is fairly new, not even one year old.

This is the information I could provide now, feel free to ask me more on this matter if I missed a detail in my post.

With hopeful regards, Bemetson

(and if anyone suspects I am a troll as my post count would be 1 after this, I assure you, I am not.)

P.S. This problem might have had occured after installing PR:Vietnam but as I said before, I don't remember whether problem or Vietnam came first.

P.S.2. Logging in to my account and searcing for servers functions well. I get around 400 servers and I can ping them all, meaning I can click on them and see my ping to the server and see all the players on it.
Bemetson is offline
Old 04-10-2012, 08:19 PM   #9
[R-COM]LITOralis.nMd
Lead Support Technician
Project Reality Beta Tester
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Bemetson, thanks for the detailed post.

What I would like to know is if you have a router between your 3G modem and your gaming PC.
If you do, please tell us the make and model of the router.

Please also tell us the 3G modem make and model number.

In the USA, some Cell phone companies block gaming traffic over 3G networks... it saturates the network and slows down everyone else who is simultaneously using the same cell tower. But let's put that aside and see if we can find the problem here.

My thoughts are the 3G modem might need another driver option activated... but my 4G modem is 1600km away right now so I can't test this until the weekend.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-COM]LITOralis.nMd is offline
Old 04-10-2012, 09:09 PM   #10
DrDickWanker
Default re: [Solved] BF2/PR Memory.dll: thread xxxx is deallocating main thread memory

Are you currently using a vpn? I ask this because I got the same error while using a vpn. It is most likely a networking problem.
DrDickWanker is offline
Closed Thread


Tags
bf2 or pr, ctd, deallocating, main, memory, memory.dll, memorydll, solved, thread, xxxx
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:59 PM.


Powered by: vBulletin. ©vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.1
All Content Copyright ©2004 - 2014, Project Reality.