Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

garbage-collection

Session containing items implementing IDisposable

August 29, 2022 by Magenaut

In ASP.NET if items are left in the session state that Implement IDisposable but are never specifically removed and disposed by the application when the session expires will Dispose be called on the objects that any code in Dipose() will execute?

Categories ASP.NET, Q&A Tags asp.net, c#, garbage-collection, idisposable, session Leave a comment

Do I need to unsubscribe from (manually subscribed to) events in asp.net?

August 28, 2022 by Magenaut

Do the same best practis rules regarding subscribing/unsubscribing to events apply in asp.net?

Categories ASP.NET, Q&A Tags asp.net, events, garbage-collection, page-lifecycle Leave a comment

Experience using gcServer=”true” to set garbage collector for .NET

August 27, 2022 by Magenaut

Has someone used a configuration enabling the garbage collector optimized for multi-processor machines using Aspnet.config with :

Categories ASP.NET, Q&A Tags .net, asp.net, garbage-collection, performance Leave a comment

Using Image.FromFile does not release handle on a file

August 26, 2022 by Magenaut

I’m doing a join of multiple multi-image tiff files to a single multi-image tiff file and have a problem with deleting the source tiff files, because the Image class continues to hold the handle on them.

Categories ASP.NET, Q&A Tags asp.net, c#, garbage-collection Leave a comment

How garbage collection works on object references?

August 25, 2022 by Magenaut

I am confused about garbage collection process on objects.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, garbage-collection, static-methods Leave a comment

Python garbage collector documentation

August 20, 2022 by Magenaut

I’m looking for documents that describes in details how python garbage collection works. I’m interested what is done in which step. What objects are in these 3 collections? What kinds of objects are deleted in each step? What algorithm is used for reference cycles finding? Background: I’m implementing some searches that have to finish in … Read more

Categories Python, Q&A Tags garbage-collection, python Leave a comment

When are objects garbage collected in python?

August 18, 2022 by Magenaut

When are objects garbage collected in python? When is the memory released and does the collection impact performance? Can one opt out or tune the gc algorithm and if so how?

Categories Python, Q&A Tags garbage-collection, memory-management, python Leave a comment

Lifetime of object in lambda connected to pyqtSignal

August 12, 2022 by Magenaut

Suppose I have an object and want one of its methods to be executed when a PyQt signal is emitted. And suppose I want it to do so with a parameter that is not passed by the signal. So I create a lambda as the signal’s slot:

Categories Python, Q&A Tags garbage-collection, lambda, pyqt, python, signals-slots Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress