I have created an application which store large dataset and downloading it as a xls file.
When downloading large dataset , it will result as memory leak as this is stored on client. one solution i find is that i can increase ram/heap size when opening chrome with this cmd " start chrome --args --js-flags="--max_old_space_size=8192"
Instead of manually running it on my terminal , can we implement this programatically on pure javascript?