Bugs item #1497893, was opened at 2006-05-31 09:51 Message generated for change (Comment added) made by pabs3 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1497893&group_id=144022
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compile-Time Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Andrew Ziem (andrewziem) Assigned to: Nobody/Anonymous (nobody) Summary: building synfigstudio eats memory forever Initial Comment: The attached build log snippet shows where synfig eats much more than 100MB RAM so that the Linux oom-killer kills the process. Now, I'm not sure how to build synfigstudio 0.61.05 Mostly, I am just re-building the nrpms.net source RPMs linked from your site. The changes I've made are basically updating the 3 synfig source tarballs to latest versions and commenting out "#%define cflags --enable-optimization=2" in synfigstudio.spec because gcc chokes on an optimization. Here's some system information: etl-0.04.08-1 synfig-0.61.05-2fc5 gcc-4.1.1-1.fc5 Fedora Core 5 ---------------------------------------------------------------------- >Comment By: Paul Wise (pabs3) Date: 2007-08-15 09:43 Message: Logged In: YES user_id=35028 Originator: NO This seems to be fixed with 0.61.06, unless you can reproduce it, I'll close the bug. ---------------------------------------------------------------------- Comment By: Paul Wise (pabs3) Date: 2006-07-22 18:58 Message: Logged In: YES user_id=35028 Which .sif files exhibit this problem? On the debian buildds, zoom_icon.sif and clear_redo_icon.sif were the only ones. I see you log shows width_icon.sif. One thing that the first two have in common is use of transparency. width_icon.sif doesn't seem to have that. ---------------------------------------------------------------------- Comment By: Paul Wise (pabs3) Date: 2006-06-04 09:53 Message: Logged In: YES user_id=35028 Hmmm, on i386 synfig finishes successfully in a few seconds. Which architecture are you on? If you are able to come on IRC, we might be able to debug this quicker - #synfig on freenode. Alternatively, there is a hack to valgrind to make it show you the RAM used while the program runs: http://pvanhoof.be/blog/index.php/2006/05/17/realtime-memory-monitor-crap-tool http://pvanhoof.be/blog/index.php/2006/05/17/showing-massifpidps-like-memory-usage-while-running-your-software Also: http://www.buzztard.org/index.php/Debugging ---------------------------------------------------------------------- Comment By: Andrew Ziem (andrewziem) Date: 2006-06-03 23:01 Message: Logged In: YES user_id=500759 Hmm. I'm not sure how to let valgrind finish. I went to runlevel 3 and turned off many services, so I had most of my 710816 RAM + 795176 swap available. Still, the command consumed about 1400MB memory, so the Linux oom-killer killed the process. So, there is no log file. It looks like synfig would consume memory without bound. ---------------------------------------------------------------------- Comment By: Paul Wise (pabs3) Date: 2006-06-03 18:49 Message: Logged In: YES user_id=35028 Please install valgrind, run this command from the synfigstudio images/ directory and attach the results (txt & ps): valgrind --tool=massif --depth=10 --alloc-fn=g_malloc --alloc-fn=g_realloc --alloc-fn=g_try_malloc synfig -q width_icon.sif -o width_icon.png --time 0 I get 1Mb ram usage maximum according to the graph. BTW, patches to the RPM spec file are welcome, please add to the patches tracker. ---------------------------------------------------------------------- Comment By: Paul Wise (pabs3) Date: 2006-05-31 11:36 Message: Logged In: YES user_id=35028 This bug report looks similar to this debian one: http://bugs.debian.org/369646 Here are the build logs for that: http://buildd.debian.org/~jeroen/status/package.php?p=synfigstudio We need more people working on synfig, so if you or anyone you know has experience with memory profiling in C++ apps, please feel free to work on this and send in a patch. The current maintainers are busy and the least busy one (me) doesn't have much experience with such massive C++ apps. Also, your build log shows signs of this bug: http://bugs.debian.org/368733 If you know of any tutorials or anyone with experience adding fontconfig support to apps, please feel free to direct them to this project. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1497893&group_id=144022 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Synfig-devl mailing list Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl