Failed to allocate bytes from process heap

General help and assistance forum.
Post Reply
Greg`
New User
Posts: 4
Joined: Sun Nov 25, 2012 12:21 am
Location: Stratford, Ontario
Contact:

Failed to allocate bytes from process heap

#1

Post by Greg` » Thu Mar 30, 2017 10:08 pm

Hey all, been dealing with this frustrating error for the last few months and I can't seem to crack what the problem is or even when and how it shows up.

I've been getting this error:

Failed to allocate 7042560 bytes from process heap

Depending on the wads loaded, that number will change. Currently this was on an RGA server with mek-catk.wad but I've also experienced it with WoC as well.

I know it is a memory issue and I'm just not sure where the leak is coming from. I've been keeping my eye on RAM usage as suggested in other threads but it never went over 240MB usage and mek-catk.wad is a rather small wad compared to what I usually play (chillax, AV2, etc)

Any help would be appreciated

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: Failed to allocate bytes from process heap

#2

Post by Combinebobnt » Fri Mar 31, 2017 12:45 am

turn off demo recording the demo is getting too fat

Greg`
New User
Posts: 4
Joined: Sun Nov 25, 2012 12:21 am
Location: Stratford, Ontario
Contact:

Re: Failed to allocate bytes from process heap

#3

Post by Greg` » Fri Mar 31, 2017 1:59 am

Combinebobnt wrote:turn off demo recording the demo is getting too fat
To the best of my knowledge I'm not recording any demos, I honestly don't know how to

User avatar
jdagenet
Forum Regular
Posts: 191
Joined: Tue Jun 05, 2012 8:08 am
Clan: Cube
Clan Tag: A3
Contact:

Re: Failed to allocate bytes from process heap

#4

Post by jdagenet » Fri Mar 31, 2017 4:47 am

Yeah, do check if you're recording demos, and if you are stop and see if the problem fixes. Also make sure you're not using any of the High Quality Resize Modes as these have been proven to leak memory overtime. If both of these options fail increase the amount of virtual memory on your system.
If all else fails then your best bet would be to start with a fresh .ini.
<Dynamo_>uh
<Dynamo_>did you just take the thread away
<FusedQyou>Dunno
<FusedQyou>ask the thread

Greg`
New User
Posts: 4
Joined: Sun Nov 25, 2012 12:21 am
Location: Stratford, Ontario
Contact:

Re: Failed to allocate bytes from process heap

#5

Post by Greg` » Tue Apr 04, 2017 9:41 pm

Not sure how to check if I'm recording any demos. How would I go about doing that?

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Failed to allocate bytes from process heap

#6

Post by Torr Samaho » Thu Apr 06, 2017 7:07 pm

Greg` wrote:Not sure how to check if I'm recording any demos. How would I go about doing that?
Actually, it's tricky to check whether a demo is currently being recorded without stopping it, but unless you activated demo recording in Doomseeker or Doom Explorer and use them to launch Zandronum, you can't be accidentally recording a demo since Zandronum needs to be started with the necessary command line option to start recording.

To be sure that you are not recording, open the console and call disconnect. If it says "Demo ... successfully recorded!", you were recording and the disconnect from the server stopped the recording.

User avatar
ibm5155
Addicted to Zandronum
Posts: 1641
Joined: Tue Jun 05, 2012 9:32 pm
Location: Somewhere, over the rainbow

Re: Failed to allocate bytes from process heap

#7

Post by ibm5155 » Thu Apr 06, 2017 9:44 pm

ehm, aren't u using some kind of scale or hq filter? if yes, disable it
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!

<this post is proof of "Decline">

Post Reply