wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Maximum Assignment Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Maximum Assignment Size" Watch "Maximum Assignment Size" New topic
Author

Maximum Assignment Size

Chih-Wei Lee
Ranch Hand

Joined: Feb 20, 2008
Posts: 129
Hi:
What's the maximum size for part 2 assignment package?
I searched this forum and many people said it's 1 MB.
Is this still correct right now?
It's hard to compress each diagram to around 100 KB.
What happen if my assignment exceed 1 MB and upload process fails?
Do I need to pay for resubmission?

Thanks


SCEA, SCJD, SCDJWS, SCWCD, SCJP
sivan jai
Ranch Hand

Joined: Feb 24, 2010
Posts: 115
what format are you using for the images? for me it turned out jpg was twice as big as a png. Also try to remove colors from your diagrams. You can also try to remove textual information from the diagram and put it else where. In my case even like 4-5 words increased the size of the file very much.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Most image programs can grayscale an image, or even use a GIF that has only 16 colors in it. Those images will shrink, bigtime. An image file with nothing but lines, small text, and 16 colors shouldn't be anywhere close to 100K in size.

Play around with some graphics software for a bit, like Gimp, and you'll get it down in size.

1 meg is often bandied about. I think 2 megs is okay as well, but I'm not positive. I kept mine small.
Chih-Wei Lee
Ranch Hand

Joined: Feb 20, 2008
Posts: 129
Thanks for your reply.
The tool I use can export the diagram as a PNG file.
But it's still a large file around 500 KB and has 4000 x 4000 dimension.
I think the dimension is too big and am trying to reduce the dimension.
However, after shrinking the file, the diagram becomes very unclear.
Maybe I need to find a good graphic tool to do the shrinking.


Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

1920x1200 is considered 'High Definition' and would look great on a 50 inch plasma TV. There's isn't a big screen large enough today to display 4000x4000 effectively.

GIMP is good and its free.

-Cameron McKenzie
Chih-Wei Lee
Ranch Hand

Joined: Feb 20, 2008
Posts: 129
Cameron Thanks
I just found if I export diagram as EMF format, when I create jar file, those EMF images can be compressed to be very small size.
For example, 1.3 MB images file can be down sized to 165 KB. It's almost 10 times size reduction.
John Ip
Ranch Hand

Joined: Mar 04, 2004
Posts: 45
I read from some other threads, people are saying you can now email the jar to oracle, does it mean that 1 MB restriction no longer exists?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maximum Assignment Size