actually, a variable declared in a method ends up in the stack, therefore no memory is allocated for it. Space is reserved in the heap only for variables declared at module event. If the space allocation is big, the application needs more memory, and thus will take more time to load and will run slower if it has to swap to disk
Marco
|