Jonas Hietala 1/24/2010

Why is my file so huge?

Read Original

The article details a developer's troubleshooting process after their C++ game's .exe file grew to an unexpectedly large size (14.6 MB). After initially suspecting exceptions and refactoring code, they discovered the primary cause was using the GCC -g debug flag and having no compiler optimizations enabled. By enabling size/speed optimizations and removing debug symbols, they reduced the executable to a much smaller 856 KB.

Why is my file so huge?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week