You probably want to wait for the next release (which is the actual release candidate) because it has the following change:
"The new map compiler with different memory management can now compile and light levels of theoretically unlimited size."
That could fix your problem
But basically you could also write a reader for those $$m files, as you can read about the format