Meteor Deploy Memory Error

I am trying to deploy my meteor which has around 4.1 GB of images. However whenever I try to create the meteor bundle, it shows me memory out of error. However if I remove the images, then the bundle is created successfully. I even tried creating the bundle without any images, then manually replacing the images folder in bundle/programs/web.browser/app/ folder but it didn’t work.
Can anyone help me out here? This is my first meteor app, I don’t know what to do tried, already tried on several machines. Set nodejs memory limit, swap partition, etc…