First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Wireshark 3.5 NSIS Build Error

  • retag add tags

I'm trying to build a NSIS installer for Wireshark 3.5 and encounter build errors related to generating documentation. I have the correct documentation toolchain installed. The core core Wireshark build and my two plugins work fine. I just cannot make the installer. I'm building on Windows 10 x64. Is there a way to build an installer without the documentation or is this a JRE issue that must be solved?

 9>CustomBuild:
     Error occurred during initialization of VM
 3>CustomBuild:
     Error occurred during initialization of VM
 9>CustomBuild:
     Could not reserve enough space for 2097152KB object heap
 3>CustomBuild:
     Could not reserve enough space for 2097152KB object heap
mmckinney56's avatar
1
mmckinney56
asked 2021-04-19 11:44:48 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Win32/64: Step-by-Step Guide
Yes, unless you modify the build and installer configs, documentation is required to build the installer.

First time around building my dev environment (win10 x64), the Java installer picked 32-bit packages.
Similar messages to what you are seeing. Fixed by reinstalling 64-bit Java.

  Generating developer-guide.xml
  Error occurred during initialization of VM
  Could not reserve enough space for 2097152KB object heap
Chuckc's avatar
3k
Chuckc
answered 2021-04-19 14:15:37 +0000, updated 2021-04-19 14:16:07 +0000
edit flag offensive 0 remove flag delete link

Comments

My default Java install was x32 and I made a side-by-side x64 local install and set JAVA_HOME to it in the Wireshark build. Problem solved - thanks very much.

mmckinney56's avatar mmckinney56 (2021-04-20 11:49:26 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer