Trending Tags
  • #nostr
  • #wordle
  • #asknostr
  • #wolp
  • #wolfstr
Trending Notes
Global
Trending Profiles
  • node
    @node
  • Kanzan
    @Kanzan
  • The Fishcake🐶🐾 & 763 others
    @The Fishcake🐶🐾
  • Karnage
    @Karnage
  • Laeserin
    @Laeserin

Nostr View


jb55 @jb55 - 4h

nostrdb effectively uses 0 memory since it is non-copy when querying. Nothing is copied into main memory, its just the page cache which the OS manages and is evictable, unlike explicitly allocated memory by processes.

1
0
3

jb55 @jb55 - 4h

https://en.m.wikipedia.org/wiki/Page_cache#:~:text=Usually%2C%20all%20physical,free%22%20or%20%22available%22.

1
0
3

jb55 @jb55 - 4h

The problem is that the OS reports this as resident set usage of the process, mixed in with other non-reclaimable memory usage, so it’s very misleading. If your system started swapping you would see nostrdb memory usage go to 0

0
0
3

Showing page 1 of 1 pages