Beta versions of software include debug information. This is pretty much a standard practice, even I do it. It helps me understand where things went wrong and how it could be improved. When you do the final version you generally get rid of the debug information which more often than not will reduce memory consumption. This is different from optimization.