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

    • WebChangeMonitor 26.06 by Razvan Serea Monitors allows you to quickly check a number of web pages and tracks changes based on the content of the web pages. Allows to monitor several protocols, including HTTP and HTTPS. Allows to view and record differences. Available for Win7/10, Linux and others. WebChangeMonitor features: Allows monitoring of web pages and informs about content changes Indication of states of currently monitored items in the tool and taskbar Reporting as sound and/or email as well as log file or HTML log Several configuration / filter options Support all protocols, e.g. http, https Multi-threaded, running in the background Bulk-import and bulk-export of items (from/to CSV) to monitor Export of results to CSV file for further processing Allows running command on items states and/or showing diff (changes) of content with preferred diff-tool ...and many more! Open Source (C++, wxWidgets) Cross platform for Windows (7/10), Linux, RPi and Mac (if self-compiled) WebChangeMonitor 26.06 release notes: Release 26.06 brings mostly s but updates the underlying core infrastructure. A major compiler is used for both x86/x64 and WoA64 architectures. This also means that all core libraries are re-compiled accordingly which required some changes in the build scripts. One of the core libraries (cURL) has been updated to address vulnerabilities and a nasty linker error that was causing the need for a dedicated patch which could now be eliminated. Download: WebChangeMonitor 64-bit | Setup 64-bit | ~10.0 MB (Open Source) Download: WebChangeMonitor 32-bit | Setup 32-bit View: WebChangeMonitor Website | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • BATorrent 3.0.4 is out.
    • yea they change their app to high-system app so you can't disable with adb or within android, you gotta get root be able to do disable this high-system app now if you have locked down boot loader you screwed. samsung started locking down their store and their account app extremely annoying, account constantly nagging you to sign in... i disable all ai core apps and especially gemini since you can't uninstall anymore. i hope some day someone will present a bill force this companies quit locking down this damn phone especially the apps...
    • It's basically the only web browser project not controlled by a major corporation.
  • Recent Achievements

    • Dedicated
      Mark Spruce earned a badge
      Dedicated
    • Collaborator
      conkir earned a badge
      Collaborator
    • Rising Star
      olavinto went up a rank
      Rising Star
    • One Month Later
      lamborghiniv10 earned a badge
      One Month Later
    • Week One Done
      lamborghiniv10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      PsYcHoKiLLa
      257
    3. 3
      Steven P.
      74
    4. 4
      +Edouard
      69
    5. 5
      Skyfrog
      68
  • Tell a friend

    Love Neowin? Tell a friend!