Dart pub build giving memory error on Koding

Issue

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?

Solution

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.

Answered By – Jawaid

Answer Checked By – Marie Seifert (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *