• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 84 85 86 87 88 ... 111 Next »

WIN32: Failed to grab 1 GB of contiguous memory
View New Posts | View Today's Posts

Pages (7): 1 2 3 4 5 ... 7 Next »
Jump to page 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
WIN32: Failed to grab 1 GB of contiguous memory
09-12-2009, 06:43 AM
#1
psyjoe
Unregistered
 
I've attached a simple solution to workaround the "Failed to grab 1 GB of contiguous memory..." error message thats works for me.

the patch allocates the needed memoryarea on startup and managed the sections on demand.


Dell Vostro 1700 : Intel Core2 Duo T8300 @2,4 GHz - 3 GB RAM - XP SP3


Attached Files
.zip   win32memhack.zip (Size: 1.4 KB / Downloads: 687)
Reply
09-12-2009, 06:50 AM
#2
Diddy Kong Offline
Golden Boy Born to Love and Live for JOY
*******
Posts: 1,293
Threads: 8
Joined: Jun 2009
List your specs !
[color=#00BFFF]
[Specs]
Antec 902 V3 Back Steel Case
Corsair DDR3 Ram 8GB
AMD FX-8150[/color] Problem?
[color=#00BFFF]Gigabyte GA-9900FXA--UD3 Motherboard
Windows 7 Ultimate x64 bit
320Gb HD
1 TB HD
Zalman CNPS9900 CPU Cooler
Corsair AX750W Power Supply
24" Asus 1920x1080 LCD Monitor (HDMI)
17" Dell 1280x1024 LCD Monitor (VGA)
Evga GTX 460 OC 830Mhz (Overclocked Factory Overclock) Big Grin
Logitech G930 Wireless Headset[/color]
Find
Reply
09-12-2009, 02:16 PM
#3
kainino Offline
Junior Member
**
Posts: 16
Threads: 2
Joined: Apr 2009
Works pretty good for me. After loading about five games, loading a new one crashes Dolphin. But that's a big improvement over the previous one game. Also, there seem to be no memory leaks, because the memory usage of loading five games didn't go noticeably above that for loading one. I'm going to keep this patch applied. Smile
Macbook 3,1. Core 2 Duo, 2.2 GHz. Intel GMA X3100. 4GB RAM. Windows XP (x86), Mac OS X 10.5.
Find
Reply
09-13-2009, 02:22 AM
#4
kainino Offline
Junior Member
**
Posts: 16
Threads: 2
Joined: Apr 2009
I'm having a few random crashes, but I can't figure out if it has to do with this patch. Also, does anyone know if this problem is Win32 specific?

BTW, you can compress
#ifdef _WIN32
#ifndef _M_X64
...
#endif
#endif
into
#if defined(_WIN32) && !defined(_M_X64)
...
#endif
Macbook 3,1. Core 2 Duo, 2.2 GHz. Intel GMA X3100. 4GB RAM. Windows XP (x86), Mac OS X 10.5.
Find
Reply
09-13-2009, 02:56 AM
#5
sl1nk3 Offline
Dolphin Dev
**********
Developers (Some Administrators and Super Moderators)
Posts: 104
Threads: 0
Joined: Apr 2009
(09-13-2009, 02:22 AM)kainino Wrote: I'm having a few random crashes, but I can't figure out if it has to do with this patch. Also, does anyone know if this problem is Win32 specific?

BTW, you can compress
#ifdef _WIN32
#ifndef _M_X64
...
#endif
#endif
into
#if defined(_WIN32) && !defined(_M_X64)
...
#endif

yeh we're having issues with 32bit version only, because the address space on 32bit systems is much more restricted (less than 4GB) compared to x64 machines where it's virtually unlimited (at least 8TB).
As an example, iirc on x64 we're addressing 4GB of contiguous memory instead of 1GB and it always works flawlessly Tongue
Find
Reply
09-13-2009, 11:03 AM
#6
koobascout
Unregistered
 
Hi,

I'm also having this same error, and after reading the other thread about Kaspersky, which I don't have, I came upon this thread. Since there is no explanation on how to use this patch in this thread nor in a readme file contained within the zip attachment above, would someone kindly explain how to apply the patch? Also, I'm unfamiliar with the .diff filename extension. Is it an actual patching application or does the file simply need to be placed in a particular directory?
Reply
09-13-2009, 11:07 AM
#7
monkey9926 Offline
guy who still needs a controller
***
Posts: 75
Threads: 7
Joined: Mar 2009
(09-13-2009, 11:03 AM)koobascout Wrote: Hi,

I'm also having this same error, and after reading the other thread about Kaspersky, which I don't have, I came upon this thread. Since there is no explanation on how to use this patch in this thread nor in a readme file contained within the zip attachment above, would someone kindly explain how to apply the patch? Also, I'm unfamiliar with the .diff filename extension. Is it an actual patching application or does the file simply need to be placed in a particular directory?

i could use the same thing Smile
I left this forum- cya Tongue
Website Find
Reply
09-13-2009, 03:29 PM
#8
death-droid Offline
Member
***
Posts: 180
Threads: 0
Joined: Apr 2009
lol monkey9926 and koobascout a .diff file is used to patch the source code not the binary to use the .diff file you need to use a svn tool to apply it to the source code then you have to build the source code Tongue
Find
Reply
09-13-2009, 08:39 PM (This post was last modified: 10-30-2009, 12:32 PM by dstruct2k.)
#9
dstruct2k Offline
Ex-Dev
***
Posts: 109
Threads: 3
Joined: Aug 2009
Or, someone can build it for you.

Here's a copy of Rev 4253 32-bit with this patch applied. I hope it helps.

Download

_____________EDIT__________
New version: 4479
System Specs:
[Image: 670320.png]
Find
Reply
09-14-2009, 06:58 AM
#10
monkey9926 Offline
guy who still needs a controller
***
Posts: 75
Threads: 7
Joined: Mar 2009
(09-13-2009, 03:29 PM)death-droid Wrote: lol monkey9926 and koobascout a .diff file is used to patch the source code not the binary to use the .diff file you need to use a svn tool to apply it to the source code then you have to build the source code Tongue

im not saying i agreed with koobascout i just wanted to know how to use the patch Angry
I left this forum- cya Tongue
Website Find
Reply
« Next Oldest | Next Newest »
Pages (7): 1 2 3 4 5 ... 7 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode