Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (788)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (860)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Large heap sizes cause JVM crash when calling glTexImage3D  (Read 1469 times)
0 Members and 1 Guest are viewing this topic.
Offline beermann

Senior Newbie

« Posted 2005-07-12 20:31:39 »

I'm having a problem where my application is crashing on a glTexImage3D call, but only when the heap size is very large, say 1200MB.  I'm trying to allocate a 3D texture that is 512x512x287 using short data.  I've got a Quadro 4400 so the memory on the card isn't an issue.  I also have 2GB of memory in my machine, so that shouldn't be the problem either.  Furthermore, this call will succeed for lower heap sizes, such as 800MB. 

It seems like there's only so much memory that can be shared between the java heap and what can be allocated for OpenGL, but I don't know what that limit is and how to determine if I've reached it.  If anyone has any information about why this might be happening and how I could prevent it, that would be greatly appreciated.  Thanks for your time.

The top portion of the dump that happens from the crash follows:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x69714D88

Current Java thread:
   at Method)
Offline Ken Russell

JGO Coder

Java games rock!

« Reply #1 - Posted 2005-07-12 20:44:42 »

It's possible you're running out of address space. By default Windows processes have access to about 1.8 GB of address space although this limit can be raised by limiting the amount of space the kernel consumes. I think this can be tuned in boot.ini but you'll have to search the web for more information about it.
Pages: [1]
  ignore  |  Print  

hadezbladez (2080 views)
2018-11-16 13:46:03

hadezbladez (798 views)
2018-11-16 13:41:33

hadezbladez (2049 views)
2018-11-16 13:35:35

hadezbladez (412 views)
2018-11-16 13:32:03

EgonOlsen (3443 views)
2018-06-10 19:43:48

EgonOlsen (3665 views)
2018-06-10 19:43:44

EgonOlsen (2270 views)
2018-06-10 19:43:20

DesertCoockie (2991 views)
2018-05-13 18:23:11

nelsongames (3068 views)
2018-04-24 18:15:36

nelsongames (3752 views)
2018-04-24 18:14:32
Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!