Dart pub build giving memory error on Koding

143 Views Asked by At

I setup my Polymer.Dart based project on Koding.com. All went well and I was able to install the Dart SDK. But when I ran the 'pub build' command after 'pub get' it gives me following error?

Failed to compile a snapshot to .pub/transformers/transformers.snapshot: runtime/vm/scavenger.cc:461: error: Out of memory.

Does that mean my VM on Koding is out of RAM?

1

There are 1 best solutions below

0
On BEST ANSWER

The issue was related to RAM assigned to my app. Since it was under free tier the RAM amount was limited. It needs more RAM to perform the operation.