News for hackers. Stuff that matters.
Re:What's up, Python? The GIL removed, a new compiler, optpa... by felipetrz on Monday July 31, 2023 @02:13AM (#36939340)
For this use case it would be better to put the data in a shared SQLite database than relying on multiprocessing CoW.

Even accessing objects from the shared memory would cause the reference counter to increment and the data would be copied, causing a memory usage explosion.

Re:What's up, Python? The GIL removed, a new compiler, optpa... by coldtea on Monday July 31, 2023 @04:30AM (#36940061)
>For this use case it would be better to put the data in a shared SQLite database than relying on multiprocessing CoW

In Python yes. In Java you could take advantage of shared memory and get spared the overhead of SQLite.