[jbosstools-issues] [JBoss JIRA] (JBDS-3319) JBDS 8.0.2 EAP installer displays incorrect storage requirements to user
Nick Boldt (JIRA)
issues at jboss.org
Thu Jan 15 15:22:49 EST 2015
[ https://issues.jboss.org/browse/JBDS-3319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032905#comment-13032905 ]
Nick Boldt commented on JBDS-3319:
----------------------------------
Similar issue occurs when comparing size of pack in the installer to actual on-disk footprint.
I used jboss-devstudio-8.0.1.CR1-v20141207-0100-B352-installer-standalone.jar (a *549M file*) and got these numbers:
{quote}
Required Disk Space (as reported by installer): *426.22 MB*
Actual disk space used by install, `du -shc`: *660M*
After first startup, `du -shc`: *676M*
{quote}
Suspect the problem is that the pack size IN the installer jar is smaller than its unpacked size on disk. Because zips/jars are smaller than folders.
So how do we better estimate the installed footprint size, given that the pack in the installer contains jarred plugins/features, which will be further unpacked during the install? And there's also more stuff that's unpacked/downloaded on the first startup (16M of stuff, according to my test above).
Should we just do a few installs/startups (on various OSes and filesystems [NTFS, FAT32, ext4, whatever OSX uses] and round that number up, then just *hard code* that into the installer, instead of trying to calculate size [1]?
[1] https://github.com/jbdevstudio/jbdevstudio-product/blob/master/installer/src/panels/com/jboss/devstudio/core/installer/DiskSpaceCheckPanel.java#L56-L66
[~dgolovin] [~ldimaggio] WDYT?
> JBDS 8.0.2 EAP installer displays incorrect storage requirements to user
> ------------------------------------------------------------------------
>
> Key: JBDS-3319
> URL: https://issues.jboss.org/browse/JBDS-3319
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: installer
> Affects Versions: 8.0.2.GA
> Reporter: Len DiMaggio
> Assignee: Nick Boldt
>
> The (eap embedded) installer for JBDS 8.0.2 informs the user that this much disk space is required:
> Disk Space:
> Available Disk Space: 31.64 GB Required Disk Space: 585.78 MB
> The actual install uses this much:
> du -sh installdir/
> 822M installdir/
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list