https://bugs.winehq.org/show_bug.cgi?id=49787
Bug ID: 49787 Summary: Java fails to start with "Could not create the Java Virtual Machine" - "Could not reserve enough space for object heap" Product: Wine Version: 5.16 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dark.shadow4@web.de Distribution: ---
You can download java from https://jdk.java.net/java-se-ri/7 (just unpack)
To reproduce, just go into "bin" and run "wine java -Xmx1024M -version".
https://bugs.winehq.org/show_bug.cgi?id=49787
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Created attachment 68101 --> https://bugs.winehq.org/attachment.cgi?id=68101 Primitive test case
Attaching a simple test case.
Win7: Maximal size is: 0x71000000 (1.765625 GB) Wine: Maximal size is: 0x41000000 (1.015625 GB)
I checked the memory mappings as well: Windows: 0x01000000 - 0x72000000 is available Wine: 0x20000000 - 0x62000000 is available
Not sure why the massive difference though.
https://bugs.winehq.org/show_bug.cgi?id=49787
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Created attachment 68102 --> https://bugs.winehq.org/attachment.cgi?id=68102 Stupid hack to work around the issue
Attaching a stupid hack that makes java start. What exactly is this "low memory area" in the first place?
https://bugs.winehq.org/show_bug.cgi?id=49787
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=49787
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- I found similar issues: - bug 26085 (although I don't agree the WONTFIX) - bug 48172 (about heap allocation in general)
Should we merge the bugs somehow?
https://bugs.winehq.org/show_bug.cgi?id=49787
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fgouget@codeweavers.com Keywords| |patch, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=49787
Alexander Vereeken Alexander88207@Protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Alexander88207@Protonmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=49787
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Marking dupe of 48172
*** This bug has been marked as a duplicate of bug 48172 ***
https://bugs.winehq.org/show_bug.cgi?id=49787
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.