Is there any way to reduce the size of a mumps.dat file once it's expanded? I think I must have created some very large globals that I've now cleared down. This is a problem as I want to keep the size of the Virtual Machine it's running in to the smallest size possible so it can be downloaded easily.
I've used mupip REORG but the mumps.dat stayed the same enormous size (462,230,016 bytes) even though it's now just got a few small globals in it.
I think there is one way only:
Do ^%GO - upload all globals.
Recreate mumps.dat with a new smaller size.
Do ^%GI - download all globals.
Once created, a database file cannot be shrunk - you must extract the globals and load them into a newly created database file. However, mupip extract followed by mupip load would be a faster way to do this than ^%GO followed by ^%GI.
> Once created, a database file cannot be shrunk
Then how about implementing this feature ?!? Kind of:
mupip resize /path/to/mumps.dat -size ... ?
That would be nice...
No argument - it would be a nice feature to have. In the FOSS business, we tend to be closely focused on enhancements that have sponsorship, but we will keep this in mind in case we are working in the area or in case we have some spare cycles.
Log in to post a comment.