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.

dynamically growing size?

See original GitHub issue

Is it possible that the size dynamically grows?

The docs should mention that the size are simply bytes.

The content of the shared memory file is a pickle file with pickle.HIGHEST_PROTOCOL. So for each thing at least 5 bytes are necessary. The interger 9223372036854775807 is 22 bytes.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
spaceonecommented, Oct 27, 2021

Maybe it would be good to extend the README that it mentions that the size heavily depends on the chosen Serializer implementation?

1reaction
spaceonecommented, Oct 27, 2021

OK. I was just wondering if we can close+unlink when we reach that exception and re-create the memory block with duplicated size. Would that work with active child processes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

C dynamically growing array - Stack Overflow
A quick and dirty solution I use so far is to declare, in the main processing function (local focus) the array with a...
Read more >
Is it theoretically possible to dynamically grow array size in ...
Yes, it is certainly possible. It really depends if you want it enough to pay the price in terms of complication.
Read more >
How the Size of the ArrayList Increases Dynamically?
The grow method creates a new Array of size int newCapacity = oldCapacity + (oldCapacity >> 1) and then copy all the elements...
Read more >
Dynamic array - Wikipedia
In computer science, a dynamic array, growable array, resizable array, dynamic table, mutable array, or array list is a random access, variable-size list...
Read more >
How do Dynamic arrays work? - GeeksforGeeks
Usually the area doubles in size. A simple dynamic array can be constructed by allocating an array of fixed-size, typically larger than the ......
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