Ionic start myfirstapp --type ionic1 memory problem?

Hello everyone.

I’m new with this and I have been reading some had problems with the node memory allocation but In my case, I’m just trying the blank starter app and I get the following error:

==== JS stack trace =========================================

Security context: 0xf5da59a5501
1: /* anonymous / [/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/lib/utils/shell.js:~44] [pc=0x1738278345dc](this=0xf5df62568b1 ,chunk=0xf5d4fc4ad29 )
2: emit [events.js:~109] [pc=0x173827832269](this=0xf5df62568b1 ,/
anonymous */=0xf5da59b5c11 <String[4]: data>)
3: arguments ad…

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Before this happening, I’ve been checking the ram used by ionic and it went up to 2GB, how can be this normal for a blank app ?

Can somebody give me some advice? I tried the ‘–max-old-space-size=8192’ suffix I’ve read about in forums but it still crashes when it gets to 2GB

Thanks for reading!
Have a nice day.

I apologize for my stupidity / amateurness, I don’t know the reason but it just happens when I enter the commands as superuser.

Thanks anyway i hope this can help somebody!