permaculture playing cards*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Assignment size of diagrams too big in html 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 "Assignment size of diagrams too big in html" Watch "Assignment size of diagrams too big in html" New topic

Assignment size of diagrams too big in html

J Suk

Joined: Apr 01, 2010
Posts: 19

Dear Ranchers,

I have the below questions with respect to Part -II.

1. I am using StarUML for all the diagrams. I could see the size of the diagrams comes really big if I see them in html with vertical and horizontal scroll bar. If I use width and height property for the image then it becomes little blurred and may be not clearly readable. I would like to know if there is any restruction like the html page should not have any scroll bars or size of the diagrams should not exceed some specific size? If you have any tips in reducing the size or something similar to make the html look better.

2. In StarUML I see the component diagram only supports the UML1.4 notation, is it Ok to use UML 1.4 specification or should we use only UML2.0 specification. I feel UML1.4 should be ok but I would like some feedback from some one experienced with this.

Thanks for the response in advance.

Sharma Ashutosh

Joined: Apr 06, 2001
Posts: 346
Please refer to my blog - i have provided some tips to reduce the size of images without compromising on quality as well as resolution.
My assignment has a lot of diagrams but was still under 1.7 MB.

Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog :
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Ranchers, feel free to correct me but I don't think there is any restriction on the size of the assignment. It could be even 10 MB if you could send it by email. The restriction is only for the type of contents (HTML) but not the size.

My sequence diagrams are really getting bigger and if one wants to provide sequence for every possible scenario, he might have more than 20 diagrams and size of an average diagram is about 180 KB.

I have the same issue but should I really be worried about it? I think, NO. I am going to send my 5 MB jar file. Please let me know if there are any issues here which I am not aware of. Also, if scroll bars covers your 30 to 40 of the contents, I think it's ok. It's happening in my assignment. It's hard to control even if you use ref in sequence diagrams.
Sharma Ashutosh

Joined: Apr 06, 2001
Posts: 346
Very first time when i saw a thread on size-i came to know size limit is 1 MB - when people have to upload the assignment.
Somebody from Oracle should intervene here and tell the size limit. When I was in Oracle-my email Id cannot accept the attachments more than 5 MB so i assume if you have to send the assignment as part email attachment - it should not go beyond 5 MB. But in case you are uploading it-it can go beyond 5 MB but i am not sure what is the size limit now?

Please go thru my blog-convert your images into PNG. I have provided some tips to reduce the size of the images. Overall JAR file should not go beyond 2 MB-that's what i feel.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29241

I agree. I wouldn't send in a 5MB file. That's inviting it to bounce/get lost. And if nothing else, it is a pain for the reviewers to receive.

My images were all in gif format and each was less than 50 KB. My whole zip file submission was 254 KB.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Thank you so much Jeanne and Ashutosh.

Actually my images were jpg. I created png and gif as well for the same image and noticed a significant difference (earlier I did not expect this much difference so went with jpg). A 200 kb JPG image came down to 42 kb in gif format and 55 kb in png format.

PNG format seems to far better in quality than gif so I am going with png format. I hope to bring my assignment under 1.5 MB for sure. I am sure, this thread will be helpful for many people.
I agree. Here's the link:
subject: Assignment size of diagrams too big in html
Similar Threads
Question about UML
SCEA 2 results
Passed part II and III 88%
StarUML Sequence diagram Ref Frame
File size for part II submission