Can I force application to cleanup/reduce memory usage to a task(task manager,exe)Deep cloning objectsHow to measure actual memory usage of an application or process?Proper use of the IDisposable interfaceHow can I get the application's path in a .NET console application?Is there a way to check if a file is in use?Reducing memory usage of .NET applications?What is private bytes, virtual bytes, working set?How do I discover memory usage of my application in Android?How do I force my .NET application to run as administrator?How to see top processes sorted by actual memory usage?

Why do old games use flashing as means of showing damage?

Was "The Hobbit" ever abridged?

Dissuading my girlfriend from a scam

How do I stop making people jump at home and at work?

Comparing elements in a nested list to generate a new list

Fantasy Military Arms and Armor: the Dwarven Grand Armory

SUM Case Logic with Distinct

Understanding question 77 in Golan's "Linear Algebra".

Arduino I2C Wire.onReceive hangs after a few loops

Does blackhole merging breaks their event horizon seggregation?

Travel to USA with a stuffed puppet

How can I oppose my advisor granting gift authorship to a collaborator?

Go for an isolated pawn

Bidirectional Dictionary

How were the names on the memorial stones in Avengers: Endgame chosen, out-of-universe?

Is there any reason to change the ISO manually?

What drugs were used in England during the High Middle Ages?

Left my gmail logged in when I was fired

MOSFET broke after attaching capacitor bank

'This one' as a pronoun

Professor refuses to write a recommendation letter

Draw the ☣ (Biohazard Symbol)

Do we know what "hardness" of Brexit people actually wanted in the referendum, if there had been other choices available?

How do I delete cookies from a specific site?



Can I force application to cleanup/reduce memory usage to a task(task manager,exe)


Deep cloning objectsHow to measure actual memory usage of an application or process?Proper use of the IDisposable interfaceHow can I get the application's path in a .NET console application?Is there a way to check if a file is in use?Reducing memory usage of .NET applications?What is private bytes, virtual bytes, working set?How do I discover memory usage of my application in Android?How do I force my .NET application to run as administrator?How to see top processes sorted by actual memory usage?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I want to create an binary exe that "cleans or reduces," for lack of a better term of another process which is a binary(exe).










share|improve this question
























  • Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

    – mjwills
    Mar 28 at 3:51












  • You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

    – Scott Chamberlain
    Mar 28 at 3:53












  • No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

    – TheGeneral
    Mar 28 at 3:53











  • The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

    – JordanPetersonFan
    Mar 28 at 3:56












  • I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

    – JordanPetersonFan
    Mar 28 at 6:44

















1















I want to create an binary exe that "cleans or reduces," for lack of a better term of another process which is a binary(exe).










share|improve this question
























  • Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

    – mjwills
    Mar 28 at 3:51












  • You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

    – Scott Chamberlain
    Mar 28 at 3:53












  • No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

    – TheGeneral
    Mar 28 at 3:53











  • The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

    – JordanPetersonFan
    Mar 28 at 3:56












  • I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

    – JordanPetersonFan
    Mar 28 at 6:44













1












1








1








I want to create an binary exe that "cleans or reduces," for lack of a better term of another process which is a binary(exe).










share|improve this question














I want to create an binary exe that "cleans or reduces," for lack of a better term of another process which is a binary(exe).







c# memory memory-leaks ram






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 28 at 3:46









JordanPetersonFanJordanPetersonFan

158 bronze badges




158 bronze badges















  • Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

    – mjwills
    Mar 28 at 3:51












  • You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

    – Scott Chamberlain
    Mar 28 at 3:53












  • No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

    – TheGeneral
    Mar 28 at 3:53











  • The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

    – JordanPetersonFan
    Mar 28 at 3:56












  • I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

    – JordanPetersonFan
    Mar 28 at 6:44

















  • Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

    – mjwills
    Mar 28 at 3:51












  • You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

    – Scott Chamberlain
    Mar 28 at 3:53












  • No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

    – TheGeneral
    Mar 28 at 3:53











  • The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

    – JordanPetersonFan
    Mar 28 at 3:56












  • I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

    – JordanPetersonFan
    Mar 28 at 6:44
















Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

– mjwills
Mar 28 at 3:51






Why do you want to do that? How will an external process know more than the process itself about how to reduce its use of RAM?

– mjwills
Mar 28 at 3:51














You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

– Scott Chamberlain
Mar 28 at 3:53






You never asked a question. Also, why do you want to? Unused ram is wasted ram. It is like paying people to do work but you order everyone to go to a break room across town when they are not actively doing something. The best you can do if you really wanted to do this is force a GC using profiling apis.

– Scott Chamberlain
Mar 28 at 3:53














No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

– TheGeneral
Mar 28 at 3:53





No i don't think you can do this, this is part responsibility operating system and how it works, and part the responsibility of the application and/or framework memory manager it uses. you cant just aggressively tell the operating system or application/framework to do this as far as i know

– TheGeneral
Mar 28 at 3:53













The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

– JordanPetersonFan
Mar 28 at 3:56






The binary exe becomes unstable and eventually crashes once it gets to about ~1500 memory. I am curious if there is a way to "reverse engineer" my way into it.

– JordanPetersonFan
Mar 28 at 3:56














I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

– JordanPetersonFan
Mar 28 at 6:44





I found this tool. github/JordanZaerr/GarbageCollector it's giving me runtime error System.DllNotFoundException: 'Unable to load DLL 'EasyHook64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I referenced it.

– JordanPetersonFan
Mar 28 at 6:44












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389867%2fcan-i-force-application-to-cleanup-reduce-memory-usage-to-a-tasktask-manager-ex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389867%2fcan-i-force-application-to-cleanup-reduce-memory-usage-to-a-tasktask-manager-ex%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript