Ask Your Question
0

Wireshark 3.5 NSIS Build Error

asked 2021-04-19 11:44:48 +0000

mmckinney56 gravatar image

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
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-04-19 14:15:37 +0000

Chuckc gravatar image

updated 2021-04-19 14:16:07 +0000

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
edit flag offensive delete link more

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 gravatar imagemmckinney56 ( 2021-04-20 11:49:26 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-04-19 11:44:48 +0000

Seen: 270 times

Last updated: Apr 19 '21