Ionic build --prod javascript heap out of memory

ionic4 prod build is giving javascript memory heapshot. I am trying my best to solve this but failing. Doing node_options worked perfectly for normal pwa build but not working for ionic build.

First close unused files and folder or any other software then try it might be work.