Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您是否尝试过为桌面浏览器提供大量数据的 lokijs.js 以及 lokijs.js 的最大存储大小是多少?
在 node.js 上,虚拟限制是您的进程可使用的 RAM 量(因为 Loki 在内存中工作,因此它无法存储比内存中容纳的更多的数据)。因此,在一台普通的开发机器上,它的容量在 1gb 到 3-4gb 之间。在浏览器中,它是 5MB。