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...

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
EMC KTN-SL3 15-Bay Disk Array Enclosure w/2x 303-108-000E Cards, Dual PSU,No HDD
$239.99
G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00
Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.19
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID
$24.43
Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99
Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00