"Rafael Sanchez" wrote: | I know how to use malloc, but I was transferred that code and | I wanted to be sure if there is any problem documented when | porting that code to other platforms. Of course the way to do | it is using malloc. Yes, there is never any guarantee of such large stack space. It's silly to assume it will be available, especially across multiple platforms.