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.

Adding get_memory_manager

See original GitHub issue

Feature request

Currently Numba supplies set_memory_manager, which allows the user to swap in an external memory manage for Numba. It would be useful to have a get_memory_manager to access the underlying memory manager.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
leofangcommented, May 29, 2020

Could be useful for unit tests? (I’m more or less repeating after John 😅)

2reactions
jakirkhamcommented, May 28, 2020

It’s a good thing for sanity checking. Also good for downstream users to identify if/how this might have been changed. Finally this could be useful if people want to swap out which allocator is used (admittedly this might not be a thing we can do today).

Read more comments on GitHub >

github_iconTop Results From Across the Web

io.prestosql.execution.buffer.BroadcastOutputBuffer ... - Tabnine
getMemoryManager (Showing top 8 results out of 315) ... getMemoryManager(); // adding the first page will block as no memory is available ...
Read more >
Workspaces - Deeplearning4j
Nd4j.getMemoryManager().setAutoGcWindow(5000) ... For ParallelWrapper , the workspace-mode configuration option was also added. As such, each of the trainer ...
Read more >
C++ (Cpp) GetMemoryManager Examples - HotExamples
C++ (Cpp) GetMemoryManager - 30 examples found. These are the top rated real world C++ (Cpp) examples of GetMemoryManager extracted from open source ......
Read more >
XalanDOMString - Xalan-C++ API Documentation
Transcode the string to the local code page. More... MemoryManagerType& getMemoryManager (); size_type hash () const. Static Public Methods. bool equals (const ...
Read more >
XMLElementDecl class Reference
MemoryManager *, getMemoryManager () const ... Returns: An enumerated value that indicates the reason why this element was added to the element decl...
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