> On 14. Dec 2024, at 10:57, nqxjlwvb via illumos-discuss 
> <discuss@lists.illumos.org> wrote:
> 
> I assigned 8GB of RAM to the OpenIndiana VM but pkg update is still unhappy. 
> The default swap volume size is 2GB. I have tried to bump the swap space many 
> times until I reached the reasonable value that pkg update agreed to work, 
> which is 16GB, or twice the amount of physical RAM I assigned to this VM.
> illumos <https://illumos.topicbox.com/latest> / illumos-discuss / see 
> discussions <https://illumos.topicbox.com/groups/discuss> + participants 
> <https://illumos.topicbox.com/groups/discuss/members> + delivery options 
> <https://illumos.topicbox.com/groups/discuss/subscription>Permalink 
> <https://illumos.topicbox.com/groups/discuss/T187223d61705d33f-M8981fa371c6cd82da04d1564>
tsoome@test:~$ swap -lh
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/ctest/swap 273,2        4K    4.00G    4.00G

but, the root cause and curse there is the implementation of pkg itself. It is 
memory hog and the number of installed packages will determine the amount of 
ram it does consume. my test host above does not have gui bits installed.

There have been some attempts over the year to improve it but they have failed, 
it most likely needs much more radical approach — like to use sqllite or 
something and stop bloating memory with python. Part of the problem also is 
that we are depending a bit too much on drops we get from Oracle and having too 
few devs to maintain the code we have. Rather shameful we haven't been able to 
fix pkg over all the years, but thats where we are.

rgds,
toomas
------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T187223d61705d33f-M0128f1104e81e0333dd127bf
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to