Forcing GC when using windbg/sos [duplicate] - garbage-collection

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Can I run a .NET garbage collection from WinDbg?
I'm debugging a memory leak with windbg/sos and I cannot find a way to have sos force a garbage collection. The list of sos commands does not seem to include gc.

Duplicate: Can I run a .NET garbage collection from WinDbg?
There's also Triggering a .NET garbage collection externally
Could someone edit that question to mention sos (e.g. "The list of sos commands does not seem to include gc.")

Related

Why is mlockall occasionally slow? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
Background: we've recently updated our Operating System from RHEL 6.7 MRG to RHEL 7.7 (with RealTime). Our RealTime Ada Radar Applications run mlockall (c binding) to lock into memory at startup (yes, I understand this is rarely necessary, and likely isn't for all of the applications, but is required for many).
The Problem:
Since the upgrade, mlockall occasionally takes over 2 minutes, where it usually takes < 1 second. What could be causing this behavior?
I was pointed at file cache/memory buffer, so we ran some tests after dropping caches, but it didn't seem to have a positive effect.

How to know which shared object is used? [duplicate]

This question already has answers here:
Determine direct shared object dependencies of a Linux binary?
(4 answers)
Closed 5 years ago.
This probably already has an answer but I couldn't find it.
I want to know which shared object is used by the binary (based on LD_LIBRARY_PATH, /etc/ld.so.conf, etc...). Something similar to the which command but for .so.
Thanks
You should use the ldd utility. In the same environment you would load your executable (Same LD_LIBRARY_PATH, e.t.c.)

is nodejs slow while reading more than 4 big files at the same time? [duplicate]

This question already has answers here:
When is the thread pool used?
(4 answers)
Closed 5 years ago.
I remember it seems that nodejs by default is using 4 back-end threads, therefore the fifth reading action will wait until 1 thread is available.
But I can't find any testify-example in google. Could someone explain and find the example please? Thanks.
It's in this post, as referred in the post from jfriend00. Thanks.

Menus in the database. Good or bad? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Can you give several indications (pro and cons) concerning the fact to put the menus of a web application inside the database?
Mainly it depends upon your requirement of your application. Its not always a good approach to bring a drill machine to make hole in sand. Every approach has some limitations and need more efforts if you do apply some alternate approaches.
In cons you can consider
Performance ( to prepare dynamic menu every time you load the master page also the static text less time to process in compare to dynamic)
Configuration will be always an issue while adding or modifying the menu
(Always need a database guy at the time of any change)
Pros
Highly configurable and completely dynamic
Can add/remove the attribute and change the text without affecting anything in code.
We have some solutions also to overcome from the cons
In case of performance we can use caching but everytime the menu change you need to recycle the application pool.
For configuration you can provide a page to control the menu content. (No Sql guy needed)
So as I said earlier you can go either way as your application adopt easily and in much better way.

Working with Bugs in TFS2010 (Agile Template) [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
My current work involves working on a large number of bugs.
We normally (non TFS) would add these to an iteration backlog (grouped into Stories) after estimating and prioritising; then work through, mark actual effort.
I want to try and understand how I would work on these bugs using the TFS Agile template as intended. But am really struggling to find best practices and examples specifically for bugs for the TFS Agile template in TFS2010.
Cheers, Nick
I hear some parts in your question:
"Add these to an iteration backlog": you can use the iteration path of the work items. Best practice is to create an iteration called backlog.
"Grouped into Stories": In TFS 2010, the default traceablity is that on a User Story you define the Test Cases which validate the User Story. The Bugs are reported against the Test Cases.
"Estimating": You can use the Remaining work field for that
"Prioritsing": You can use the Stack Rank field
"Mark actual effort": Use the Completed work field
What we have been doing is:
Raising bug during testing by a tester.
During iteration planning we may decide to allocate X amount of time to fix outstanding bugs, so we creat a bug fixing story for that iteration of X story points.
Bugs are chosen that we think should be fixed within the iteration, a task is created for each bug along with a time estimate and any high level technical details. Note the task is created as a child of the story and also related to the bug.
The key is that bug work items are not developed against directly, a related task is.

Resources