You shouldn't worry. I delete that file all the time. Mine fills up when KDE crashes. And still everything works file so delete away...
In my /home directory I found a file called .xsession-errors which had filled all of my free space up! - your talking GB! I deleted it and it's slowly filling again. I can only assume that it's been filling for months. At the moment, the most common entry is:-
kdecore (KAction): WARNING: KActionCollection::KActionCollection( QObject *parent, const char *name, KInstance *instance )
But there are others.....
Should I be particularly worried about this? - is it normal to have 'random' errors appear in this file?
Not only this, but I've started to take notice of the amount of disk space I have available and I'm convinced I've lost a load. Maybe I have a problem HD? I think I might boot from the live CD and run 'fsck'....
Bad day!
Stu.....
You shouldn't worry. I delete that file all the time. Mine fills up when KDE crashes. And still everything works file so delete away...

Supermicro CSE-826 2U Server Chassis W/X10DRH-C 2x E5-2620 V3 128GB RAM 2x 1280W
$499.99
HP Proliant MicroServer Gen 8 2.23GHz Xeon 16GB RAM NO SSD
$249.99
HP ProLiant MicroServer Gen8 Tower Server Xeon E3-1220 v2 2.3GHz 16GB RAM
$289.99
1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X
$175.00
Supermicro Super Server 1029U-TN10RT Dual Xeon Silver 4210 - 10-Bay NVMe Rack
$500.00
HPE ProLiant MicroServer Gen10 Plus 32GB RAM Xeon E-2224 3.40Ghz No HDD No AC
$750.00
New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99
Supermicro 5019D-4C-FN8TP Xeon D-2123IT (4C/8T) 64GB DDR4 10GbE 480GB 1U Server
$689.00
Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter
$225.00
POGO ATLAS 1102 Server 32 Gb RAM 4TB Storage 2x2TB HDD’s (Tested-Working) No OS
$179.85