The j2kDecodeCache folder is different than the asset cache. The files in
it are *decoded* jpeg2000 images. Decoding these images is an expensive and
slow process and caching them speeds things up. The files have one current
use that I'm aware of: decoded images for making collision meshes for
sculpted prims. There have been other uses for the files in this folder in
the past which still may be in use but I'm not aware of any currently.

You could certainly delete the files in that folder and it may slow things
down during the first region startup just after doing so but you'll likely
clean up a lot of old files that are no longer needed. I don't think this
folder has any automatic cleaning process so a periodic cleaning might be a
good idea. Deleting the folder will likely cause a lot of console error
messages and also phantom colliders for sculpted prims.

On Sat, Jun 29, 2019 at 8:15 AM <tring...@gmail.com> wrote:

> I have maintained what I call an assetcache-master file which is a
> composite of every asset record my servers have ever created.  As you can
> imagine it has grown in size to a rather significant number of assets over
> the many years I have been doing this.
>
> The reason I do this is so I can use an offline instance of opensim and
> still rez objects that an NPC from years ago might have had attached to
> them.  Because my local instance is not connected to osgrid in any way,
> finding the item in asset cache has been a very successful way to be able
> to work with things offline.  My offline instance does not expire anything
> in assetcache.
>
> I discovered that the j2k folder of the asset cache is nearly as large as
> the entire UUID folders combined.  Are these 1k files actually used for
> anything I would need?   Deleting them would save me an immense amount of
> space on my cache drive as each one of these 1k files take a 4k cluster.
> There are nearly 2 million of them.
>
> I have been working on an offline program that will pare down the UUID
> folders to only retain assets that the NPC appearances I have kept require
> as an attachment.  But none of the j2k files are used by an NPC.
>
> Can I simply delete this entire folder from my master cache folder?
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users@opensimulator.org
> http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
>
_______________________________________________
Opensim-users mailing list
Opensim-users@opensimulator.org
http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users

Reply via email to