Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-settings.php on line 229

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-settings.php on line 231

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-settings.php on line 232

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-settings.php on line 249

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/donkeysh/donkeyshade.org/wp-includes/theme.php on line 508
Donkey Shade › Hibernate is 72% crap
Skip to content

Hibernate is 72% crap

During a chat with Marshall, a JBoss Eclipse dev, we started talking about pack200, the (not new anymore) Java 5 Jar compressor. I was making the point that the Red Hat Developer Studio could loose a little fat now that it peaks at 500+Mb, or soon it would be as big as some Eclipse-based studio that tops at 2+Gb (wink). And that pack200 could be an excellent way to tackle the problem and remove the crap. Marshall ran a quick test on the hibernate tools libraries plugin and got a ~ 72% size reduction from 12MB to about 3.3MB. 72% crap removed. Not bad.
Now Eclipse has been available as packed archive since Callisto, with great success, saving tons of bandwidth from downloads. Why not have built-in Java support for loading packed Jars? Why not built-in OSGI support?

2 Comments

  1. I was also able to reduce the size of our ZIP distribution from 73MB to 40MB using the pack200 ant task here:

    https://java-pack200-ant-task.dev.java.net/

    Make sure to use gzipoutput=”true” and effort=”9″ to get the maximum effect. Also, the task seems to run out of memory pretty often.. tweaking Ant’s VM args should probably fix it but I haven’t tried yet.

    Wednesday, October 10, 2007 at 11:25 | Permalink
  2. admin wrote:

    I think you need to pass something like: -J-Xmx1024M to the pack200 exe to have it recognize VM args

    Wednesday, October 10, 2007 at 11:31 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*