Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Plugin eats memory? (C#, Tier 1, Windows)

Author
Message
hendron
8
Years of Service
Recently Online
Joined: 20th Dec 2015
Location:
Posted: 14th Jun 2017 04:24
I'm totally new to the world of writing plugins/dll's, so forgive me if I'm missing something totally obvious. I noticed that any plugins I've started writing end up eating away at memory with each plugin function call.

So I wrote the simplest plugin I possibly could, using C#. It contains a single method that does nothing. Calling it continuously in my AppGameKit code causes my program to gradually consume more and more memory without freeing it until I close the program.

C# code:



AGK code:



Am I doing something wrong or is this possibly a bug?

-h
hendron
8
Years of Service
Recently Online
Joined: 20th Dec 2015
Location:
Posted: 14th Jun 2017 17:21
Getting the same behavior with the example plugin provided by TGC. Calling ExamplePlugin.GetI() (or any other plugin function) every frame causes memory usage to increase without being freed until the program is closed.

-h

Login to post a reply

Server time is: 2024-09-30 03:34:26
Your offset time is: 2024-09-30 03:34:26