[haiku-development] Maximum VMWare image size

  • From: Joseph Prostko <joe.prostko@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 8 May 2014 17:26:37 -0400

Hello,

While I was building out the new Readline packages yesterday, I hit
the problem where my 4 GB VMWare image for x86_64 ran out of disk
space, and naturally, the build fails when there is no disk space
left.  I'm not sure why so much disk space was consumed compared to
when I built on my GCC2 and GCC4 VMs, but it certainly happened, and
so I'm asking if everyone is cool if we bump the max image size to
something like 8 GB.

I applied it here locally, and it works as expected.   When the
HAIKU_IMAGE_SIZE is 8192 MB the image is created correctly, but when
it is set to 8193, the "Error: image size too large" error message is
displayed.

Axel originally set the limit back in 2008 [1], and while Haiku hasn't
really gotten bigger over time, hard disk space has.  I suppose we
could even make it something different than 8 GB, but I figure that
should hopefully be enough to get me past the issue of running out of
space.

I know it's a minor decision to make, but I just wanted feedback
before I or somebody else makes the "huge" one character change here:

http://cgit.haiku-os.org/haiku/tree/src/tools/vmdkimage/vmdkimage.cpp#n271

- joe


[1] 
http://cgit.haiku-os.org/haiku/commit/src/tools/vmdkimage/vmdkimage.cpp?id=500d847a1d9662f7ea6f595eae7a30fb34dc2ef1

Other related posts: