In debug mode, a symbolic debugging information in M/S format is produced, that helps to debug the code.Also it does not take optimization to execute the code in to the consideration.It takes more memory because of information in symbolic pattern.