Date: Sun, 23 Mar 1997 14:43:11 +0300 (IDT) From: Eli Zaretskii To: Andy Eskilsson cc: djgpp AT delorie DOT com Subject: Re: Size of executable in memory? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 21 Mar 1997, Andy Eskilsson wrote: > The question is now, how much extra space in memory does a 1-meg > 'unstripped' executable take, compared to the same executable, > stripped to 499k? And the answer is: NONE! > Exactly what is it strip removes (well I don't have -g enabled and -O2 > as optimization, so it shouldn't be debug-info..) and (probably the > real question is:) does this take extra memory? It *is* the debug info, and therefore it doesn't take up any extra memory. If you strip it, you cannot easily debug the program, and even the stack dump printed when it crashes is much less useful since you cannot easily convert it to a human-readable trace of function calls. But other than that, you don't lose anything.