Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: High memory usage of SFML applications  (Read 11884 times)

0 Members and 1 Guest are viewing this topic.

K-Bal

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • pencilcase.bandcamp.com
    • Email
High memory usage of SFML applications
« Reply #15 on: April 13, 2009, 11:16:06 am »
Quote from: "Hiura"
K-Bal, do you use option '-s' or '-Os' at compiling time ?
(I do.)


I don't know, I'll take a look this evening ;)
Listen to my band: pencilcase.bandcamp.com

K-Bal

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • pencilcase.bandcamp.com
    • Email
High memory usage of SFML applications
« Reply #16 on: April 14, 2009, 01:24:30 am »
I used -s but no -Os, however, those compiler settings don't make a difference.
Listen to my band: pencilcase.bandcamp.com

Ceylo

  • Hero Member
  • *****
  • Posts: 2325
    • View Profile
    • http://sfemovie.yalir.org/
    • Email
High memory usage of SFML applications
« Reply #17 on: April 14, 2009, 02:34:43 am »
Of course they don't. It only changes the executable file size, not the memory usage.
Want to play movies in your SFML application? Check out sfeMovie!

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
High memory usage of SFML applications
« Reply #18 on: April 14, 2009, 10:52:19 am »
If you don't use -s your OS might load all debug symbols. Or  I'm wrong ?

Anyway it seems not being the point here.
SFML / OS X developer

seoushi

  • Newbie
  • *
  • Posts: 15
    • View Profile
High memory usage of SFML applications
« Reply #19 on: April 15, 2009, 10:07:56 am »
How are you getting the memory usage of the application? Linux and even Mac OS X for that matter don't always tell you the truth when it come to how much a program is actually using in memory. I've found that most of the time Linux will allocate a lot more memory than is needed for a program so the program can access more memory faster when needed.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
High memory usage of SFML applications
« Reply #20 on: April 15, 2009, 01:44:39 pm »
You also have to take memory caches into account.

K-Bal

  • Full Member
  • ***
  • Posts: 104
    • View Profile
    • pencilcase.bandcamp.com
    • Email
High memory usage of SFML applications
« Reply #21 on: April 15, 2009, 10:47:52 pm »
Yeah, might be. I just used the ubuntu system check tool.
Listen to my band: pencilcase.bandcamp.com

 

anything