Execute large sql script on server

I am trying to run a script it is very large as it have schema and data of en entire database . But when i executing it on my local machine it successfully executed. But when i am executing it on server it says " insufficient memory to execute this program".

Then i tried to execute it using command prompt but it gives an error like display in below image.


you need to provide the username in your connection.

My question is how can i provide the credentials in cmd

sqlcmd -U Wakanda -P Hjufh787@3 -S your.sql.server -d your.database -i C:\Subversion\IT\Database\Hardwares\v1.2\your.add.not.null.column.script.sql -o