javascriptmongodbmeteornitrousio

My meteor project size is becoming out of control


I'm using an online IDE (nitrous) and my project size become 2.9 gb. I can't even run meteor command anymore.
Is there a way to clean the project to reset the size? (I can't run meteor reset)
Also, if I want to deploy the project on a server, will the project size become huge?
Note: It happened to me 2 times. I recreate another box then start uploading my project to it but recreating boxes and uploading is really painfull and waste of time.


Solution

  • Sup Rasof, look at this directory

    root>projectName>.meteor>local>db>journal
    

    Delete all Prealloac, i have the same issue, its some functionality from mongodb to preallocate date for you, i research some and looks like data is kinda ignored for meteor on the deploy, but like you are using nitrous.io you are actually using space of the box, so its not possible run the box.

    Are you getting the "error: enospc, no space left on device"?

    if its that just delete prealloc files

    Edit

    Meteor Reset also Works