Skip to content

This repository is to show a simple way to create memory leak in .NET

License

Notifications You must be signed in to change notification settings

hartono-wen/create-memory-leak-in-.net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Create Memory Leak in .NET

This repository is to show a simple way to create memory leak in .NET. So, the steps are:

  1. Declare a list of strings.
  2. Create a perpetual while condition, and add GUID to the list.

Since the list will always be used, the garbage collector will find nothing to free.

About

This repository is to show a simple way to create memory leak in .NET

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages