Book a Demo

Author Topic: reduce Model File size?  (Read 3394 times)

mark.johnson

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
reduce Model File size?
« on: October 19, 2005, 04:39:27 pm »
When I create an EAP model, the default size seems to be around 8MB.  Is there any way I can reduce this size?

I have already tried Tools\Manage EAP File\Compact EAP File... and this only seems to take it down a few KB.

I have also tried deleting parts of the model I don't need but this also doesn't seem to reduce the size.

To give you some idea, if I export my model as XMI, it comes to a total of 155KB.  Why is all the other space being used?

thomaskilian

  • Guest
Re: reduce Model File size?
« Reply #1 on: October 20, 2005, 01:37:10 am »
No way. This is an Access Database and there's no way around. BTW: Do you really care for a few MB? If it's for bandwidth reasons (transmit over network) use ZIP. The net load is very small.

mark.johnson

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: reduce Model File size?
« Reply #2 on: October 20, 2005, 04:14:26 pm »
My problem is that we share an EA file via a web-based system and hence loading files up and down all the time is slow.  Even zipped the file is over 2MB, which just seems wasteful for the actual amount of content in there.

If anyone from Sparx is listening, can you try to slim down these files in the next release?!?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: reduce Model File size?
« Reply #3 on: October 20, 2005, 04:26:41 pm »
Quote
My problem is that we share an EA file via a web-based system and hence loading files up and down all the time is slow.  Even zipped the file is over 2MB, which just seems wasteful for the actual amount of content in there.

If anyone from Sparx is listening, can you try to slim down these files in the next release?!?
No Mark, it's not possible to slim down the file.  As Thomas said, the .EAP file is an MS-Access Database.  There are minimum sizes for that.  However, the good news is that the size does NOT grow too quickly as you add more data.  Create an empty model (compact it) and that will give you the smallest file size.

You can use the controlled package features to share only parts of the model (as required).

If you are courageous you can try using MS Access Replication to only distribute changes between the copies... ;D

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

mark.johnson

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: reduce Model File size?
« Reply #4 on: October 20, 2005, 04:31:43 pm »
Good point, I might go to controlled packages since then we only have to share the XML which is much smaller.

Thanks!