question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]Maximum number of transactions reached

See original GitHub issue

V5.08

Exception Maximum number of transactions reached

CODE

var col = _db.GetCollection<T>(typeof(T).Name); result = col.Find(bse).ToList(); var col = _db.GetCollection<T>(typeof(T).Name); t = col.FindById(new ObjectId(Id)) :

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
frankneumanncommented, Dec 26, 2020

I encountered the same exception, which was caused by the heavy use of threads within Parallel.ForEach. Unfortunately, the TransactionService for a closed thread will not be removed from the _transactions dictionary within the TransactionMonitor. Here a finalizer for the TransactionService has to be added, which takes care of removing the transaction from the _transactions dictionary. I will provide a fix for this.

0reactions
lbnascimentocommented, Jul 21, 2021

It is fixed in the latest release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] LiteDB 5.0.10 - Maximum number of transactions ...
@byteAbit0101 LiteDB has a limit of 100 open transactions at a time. If youy program happens to create a lot of these FindOneAsync...
Read more >
How to fix "You have exceeded the maximum number of ...
Hello there,. The error message "You have exceeded the maximum number of allowable transactions. Please try again later" typically indicates ...
Read more >
New-MsolUser : You have exceeded the maximum number ...
I've been using this code for more than 2 months. And just got error 2 today ago. So I use this code :...
Read more >
Postgres-XL happens ERROR:maximum number of ...
Client NN aborted in state 13: ERROR: maximum number of prepared transactions reached HINT: Increase max_prepared_transactions (currently ...
Read more >
What is the solution for this error 'You have exceeded ...
This means you are exceeding the transaction limit set by your bank. Generally it's 1lakh including of various upi apps you may use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found