Recommended Posts

wow! thats some nice stuff zogo! Dropped mine from 30mb to on avg 3.5mb! :D my mem always was jumping on mouse over/out for my buttons...so i just added it to my button class so every other time the state changes on a button, it does this mem thing :)

It's quite safe doing it this way, the windows API just clears out garbage rather than .net keeping a space for it. It wouldn't be suitable for games etc. because they need anything they can get but if your writing something else then this code raises cpu usage very very marginally. It doesn't clear the memory as such it just sets a fence around the process in mem usage size. I'm pretty sure that many of the programs which "optimize" your memory usage use this function but they use it for all programs. Cheers for trying it SkyyPunk :) enjoy...

Oh and I just read your other post Nazgulled it sounds to me like your using some memory intense functions in there, do you use threading or loops at all?

when you say it creates a fence...it doesnt appear to do that for mine...on first try, i just had it executy at formload, and that dropped it to around 15mb or so, but as soon as i through my mouse over my buttons and whatnot it got back up to around 27mb...

oh and sorry for hijacking your thread nazgulled :whistle:

well basically when it calls with the values i set it sets a fence only for that spot in time, you could change the min value to 0 and max value to something higher to create a real fence...

Nazgulled - What sort of things are you looping over, generally speaking loops,threading & timers seem to me to be the real mem/cpu hogs.

  • 4 months later...
Nazgulled - What sort of things are you looping over, generally speaking loops,threading & timers seem to me to be the real mem/cpu hogs.

585729037[/snapback]

Just saw this now :blush:

you probably won't read this but... i'm not using much loops at all, just one to load all the note names into the dropbox and when a new note is created it loads all of them again, that's about the all loops I remember. no threading at all and timers, I ahve one, which currently it's just there but i'm not using it at all... I guesse I forgot to remove it when I started using the AnimateWindow API

  • 3 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Qmmp 2.3.3 by Razvan Serea Qmmp (Qt-based MultiMedia Player) is a free, open-source audio player that delivers a classic music listening experience with a modern foundation. Inspired by the legendary Winamp, Qmmp features a familiar, customizable interface that supports both Winamp and XMMS skins, making it instantly recognizable to long-time users. It handles a wide variety of audio formats including MP3, OGG Vorbis, FLAC, WAV, AAC, and many others, ensuring smooth playback across diverse music libraries. In addition to basic playback, Qmmp offers advanced features such as a 10-band equalizer, crossfading, gapless playback, and audio visualization plugins. Users can manage playlists efficiently, create and save multiple lists, and even enable streaming from online sources. Plugin support extends the player’s capabilities, allowing integration of features like lyrics display, ReplayGain, and more. Built with the Qt framework, Qmmp runs smoothly and efficiently, making it ideal even for older systems. 10 great QMMP features you might not know: Global Hotkeys Support – Control playback using customizable system-wide keyboard shortcuts. CUE Sheet Support – Automatically detects and plays tracks from CUE files for full album playback. Last.fm Scrobbling – Integrated support for sending playback data to Last.fm. Audio CD Playback – Play music directly from audio CDs. Command Line Interface – Control Qmmp via command-line options for scripting or automation. System Tray Integration – Minimize to and control playback from the system tray. MPRIS Support – Integration with desktop media player controls via the MPRIS (Media Player Remote Interfacing Specification) interface. Spectrum Analyzer and Oscilloscope – Built-in visualizations for real-time audio feedback. Configurable Notifications – Custom pop-ups for track changes and playback status. Multiple Output Backends – Support for ALSA, PulseAudio, JACK, and more, offering flexible audio routing. Qmmp 2.3.3 changelog: fixed build with PipeWire versions less than 0.3.50; fixed settings dialog layout; fixed default CUE encoding; fixed possible null pointer dereference; fixed tracks order when added using drag and drop (2.3.3 only); fixed uninitialized structure usage; improved sid plugin: added libsidplayfp 3.0 support; added feature to build without residfp engine; fixed memory leak; fixed displaying audio information; updated Japanese translation (2.3.3 only). Download: Qmmp 64-bit | 24.0 MB (Open Source) Download: Qmmp 32-bit | 24.1 MB View: Qmmp Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BATorrent 3.0.3 is out.
    • The current Statcoungter desktop numbers has Google Chrome increasing it's market share this past year and currently commanding 75% share. Everybody else is just making up the numbers with even MS Edge losing 3% this past year and has dipped just below 10% share which is staggering considering it's default on every Windows deviced purchased. If these numbers are correct that terrible Edge number is both devastating and embarrassing for MS especially when you add in the terribly low Bing market share. This leads me to ask a couple of questions as the default browser holding just less than 10% market share seems really weird. It used to be that all Chromium browsers were being counted as Google Chrome in some cases.  Is this still happening? Do these high Google Chrome numbers contains some Edge user numbers?
    • Yeah, all web browsers seem to have some junk in them these days. The regular Brave browser has a lot of unnecessary stuff in it, similar to Microsoft Edge, so I don't see any benefits of using Brave over Microsoft Edge if you already have Microsoft Edge fully set up with ad blockers and that. The cleanest or best free browser outside of 'Microsoft Edge' I’ve tried so far is 'Samsung Browser'. It has very little bloat and is a nice-looking web browser with an inbuilt 'Ad blocker'. I also really like the web browser called 'Floorp' that is based on Firefox. This browser can also install Chrome extensions. I have a system wide Ad blocking program for Windows 11 that doesn't just blocks ads in the web browser, but over the whole system. I don't really need a web browser with an inbuilt ad blocker because of that.
  • Recent Achievements

    • Rookie
      moog19 went up a rank
      Rookie
    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      491
    2. 2
      PsYcHoKiLLa
      270
    3. 3
      Skyfrog
      75
    4. 4
      Steven P.
      68
    5. 5
      FloatingFatMan
      63
  • Tell a friend

    Love Neowin? Tell a friend!