Search Unity

Unity likes its Log files Beefy

Discussion in 'Editor & General Support' started by ItsCaveMan, Jul 9, 2018.

  1. ItsCaveMan

    ItsCaveMan

    Joined:
    Feb 14, 2015
    Posts:
    7
    5 minutes ago my windows started shouting at me that my disk space was finished,
    low and behold, a glorious 0kb of disk space remaining, no good at all..

    Windows then proceeded to open their storage managing page within win 10 settings - to which i starting digging for what program has gone r/softwaregore and has eaten up all my space.

    Now i'm yet to find the cause of 20gb spontaneously missing, However.. in my searching i did find this Glorious 11.1GB Text file accompanied by yet another Glorious 6.3GB Text file under the Unity App Data Directory!
    Exhibit A:



    After saving my work, i prepared to open said texts and watch Notepad freeze my workstation, but i was surprising but yet sadly taken back when this happened:


    Yes, these are Log files.

    I did notice that this log file is growing in the hundreds of megs periodically. 200mb in the time of me writing this post! without any use of the Editor
    Exhibit C:


    Spoiler! - log is currently sitting at 11,853,000mb at the time of posting, another 400mb more then the latter, 9 minutes later
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Why it is happening is certainly linked to what is in the log. You probably have an error that is repeating. Use a better text editor than notepad. Maybe vi or something.
     
  3. ItsCaveMan

    ItsCaveMan

    Joined:
    Feb 14, 2015
    Posts:
    7
    VS and sublime won't open it, makes me doubt other text editors will. If the error persists with future Unity updates, ill then look into it further
     
  4. f0ff886f

    f0ff886f

    Joined:
    Nov 1, 2015
    Posts:
    201
    Try
    Get-Content yourfile.log -Tail 100
    to view the last 100 lines of the file
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    You could just delete the log and reopen the editor. Then just open the log file before it grows to an unopenable size.
     
    hippocoder likes this.
  6. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    If storage is at a premium you should also delete older betas you may have installed, these are a few gigs for sure :)
     
  7. ItsCaveMan

    ItsCaveMan

    Joined:
    Feb 14, 2015
    Posts:
    7
    what i was thinking :p, however tried vostok4 answer - last 100 log lines (this is after ive closed the Editor)

    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/d6/d6c87eb8c03fc384dbfa12cb52915e0b.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/6b/6b0a189df0bd4d5448eaefb4e673ace8.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/d8/d82512f9c8e5d4a4d938b575d47f88d4.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/d8/d82512f9c8e5d4a4d938b575d47f88d4.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/74/74aca53eb7273624baffc2bf5e5cc173.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/99/999434725cbc2be4eb54043b36efd4a8.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/99/999434725cbc2be4eb54043b36efd4a8.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/dc/dced8f6ea9f964e8e8e61574ea889d21.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/dc/dced8f6ea9f964e8e8e61574ea889d21.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/35/35b4e72ca46f44581b85082c4dc21d13.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/35/35b4e72ca46f44581b85082c4dc21d13.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/06/06d65f2fd7f113e47a9809ed900f7ea4.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/06/06d65f2fd7f113e47a9809ed900f7ea4.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/66/66af8429c910e50488dee28f3d1b1fdb.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/bd/bde7f13ce3d8b1b49823204b1fbe7315.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/98/985affd35f13423478b532f30b49a1b1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8f/8f68ad82b8ecb5b4c9ab2630ce90a725.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8f/8f68ad82b8ecb5b4c9ab2630ce90a725.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/fd/fd4cfaea1996ff74fbbda9d3142a04a1.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/fd/fd4cfaea1996ff74fbbda9d3142a04a1.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/d3/d3daa3f30204d8144a6fc6fcae52fd24.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/d3/d3daa3f30204d8144a6fc6fcae52fd24.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/23/235d9a53d25fcc745bab37bcaebb9bb6.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/23/235d9a53d25fcc745bab37bcaebb9bb6.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/24/247622d5380fcc742b1be71e0b00c4f0.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/24/247622d5380fcc742b1be71e0b00c4f0.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/4b/4b561f3ef7c98b04a9d4b1518c5c8ce8.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/4b/4b561f3ef7c98b04a9d4b1518c5c8ce8.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/b3/b3c60ca2f74200142b4b76d964e0e66f.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/b3/b3c60ca2f74200142b4b76d964e0e66f.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8c/8c3ad5f60a42ed64f857494e7290a948.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8c/8c3ad5f60a42ed64f857494e7290a948.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8c/8c3ad5f60a42ed64f857494e7290a948.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/8c/8c3ad5f60a42ed64f857494e7290a948.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/23/235d9a53d25fcc745bab37bcaebb9bb6.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/23/235d9a53d25fcc745bab37bcaebb9bb6.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/cb/cbb36211f38a61944ae17f09e9e9d2b3.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/cb/cbb36211f38a61944ae17f09e9e9d2b3.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/5b/5b91fa8b67b6dc44c82dacd834b6db4d.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/5b/5b91fa8b67b6dc44c82dacd834b6db4d.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/06/06d65f2fd7f113e47a9809ed900f7ea4.info'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/06/06d65f2fd7f113e47a9809ed900f7ea4.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/cb/cbb36211f38a61944ae17f09e9e9d2b3.bin'.
    GIFileCache::OnRemoveFile FAILED removing 'D:/Unity Cache Server/cb/cbb36211f38a61944ae17f09e9e9d2b3.info'.
    LocalFileCache size was not reduced below threshold at path: D:/Unity Cache Server. ( 10953957793 / 10737418240)
    [Performance] ApplicationTickTimer : 2263075 samples, Peak. 22.8 s (29789.3x), Avg. 764 us, Total. 1.730 ks (7.0%)
    [Performance] VCProvider : 2263075 samples, Peak. 1.74 ms (2964.9x), Avg. 586 ns, Total. 1.326 s (0.0%)
    [Performance] ReloadAllUsedAssemblies : 109937 samples, Peak. 8.64 s (27798.7x), Avg. 311 us, Total. 34.18 s (0.1%)
    [Performance] Internal_SwitchSkin : 2263075 samples, Peak. 44.7 us (1318.5x), Avg. 33.9 ns, Total. 76.65 ms (0.0%)
    [Performance] UnityConnect : 345945 samples, Peak. 1.10 ms (189.0x), Avg. 5.83 us, Total. 2.018 s (0.0%)
    [Performance] VerifyUpdate : 2263075 samples, Peak. 7.45 ms (49614.8x), Avg. 150 ns, Total. 339.6 ms (0.0%)
    [Performance] Collab : 345944 samples, Peak. 22.6 s (22387.6x), Avg. 1.01 ms, Total. 349.7 s (1.4%)
    [Performance] CEF : 684150 samples, Peak. 188 ms (3123.2x), Avg. 60.2 us, Total. 41.21 s (0.2%)
    [Performance] CurlRequestCheck : 211490 samples, Peak. 81.9 ms (33211.6x), Avg. 2.47 us, Total. 521.4 ms (0.0%)
    [Performance] HubClient : 2263075 samples, Peak. 99.3 us (487.6x), Avg. 204 ns, Total. 461.0 ms (0.0%)
    [Performance] SceneBackgroundTask : 132935 samples, Peak. 53.5 us (208.5x), Avg. 257 ns, Total. 34.12 ms (0.0%)
    [Performance] DoScheduler : 1116257 samples, Peak. 3.12 ms (398.7x), Avg. 7.83 us, Total. 8.736 s (0.0%)
    [Performance] RepaintAllProfilerWindows : 2185436 samples, Peak. 465 ms (80812.8x), Avg. 5.75 us, Total. 12.57 s (0.1%)
    [Performance] HandlePlayerUpdates : 345485 samples, Peak. 288 us (19.3x), Avg. 14.9 us, Total. 5.141 s (0.0%)
    [Performance] GlobalCallbacks : 2263075 samples, Peak. 621 ms (13575.5x), Avg. 45.8 us, Total. 103.5 s (0.4%)
    [Performance] PreloadManager : 2242284 samples, Peak. 5.58 ms (1179.3x), Avg. 4.73 us, Total. 10.62 s (0.0%)
    [Performance] SceneTracker : 2263075 samples, Peak. 34.9 ms (245.2x), Avg. 142 us, Total. 322.3 s (1.3%)
    [Performance] ConsoleAndStatusBar : 71067 samples, Peak. 1.26 ms (362.8x), Avg. 3.48 us, Total. 247.1 ms (0.0%)
    [Performance] UpdatePackageImport : 71072 samples, Peak. 105 us (219.4x), Avg. 479 ns, Total. 34.05 ms (0.0%)
    [Performance] HierarchyWindowTick : 94108 samples, Peak. 3.43 ms (3616.5x), Avg. 949 ns, Total. 89.30 ms (0.0%)
    [Performance] UpdateInspectorMonoBehaviours : 94108 samples, Peak. 6.73 ms (17.5x), Avg. 385 us, Total. 36.25 s (0.1%)
    [Performance] UpdateTooltip : 268035 samples, Peak. 1.99 s (120850.2x), Avg. 16.5 us, Total. 4.424 s (0.0%)
    [Performance] UpdateScene : 2185436 samples, Peak. 8.74 s (29948.4x), Avg. 292 us, Total. 637.7 s (2.6%)
    [Performance] UpdateVideoTextures : 2162908 samples, Peak. 125 us (875.6x), Avg. 143 ns, Total. 310.0 ms (0.0%)
    [Performance] Video : 2185436 samples, Peak. 170 us (391.9x), Avg. 433 ns, Total. 946.8 ms (0.0%)
    [Performance] ChangeLayoutIfNeeded : 2263075 samples, Peak. 5.30 ms (50119.4x), Avg. 106 ns, Total. 239.1 ms (0.0%)
    [Performance] RepaintAll : 77639 samples, Peak. 1.93 s (21326.6x), Avg. 90.6 us, Total. 7.034 s (0.0%)
    [Performance] UpdateConsoleLog : 38295 samples, Peak. 1.26 ms (353.5x), Avg. 3.57 us, Total. 136.7 ms (0.0%)
    Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.056104 seconds (Nothing changed)
    Refresh completed in 0.056413 seconds.
    Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.058005 seconds (Nothing changed)
    Refresh completed in 0.058190 seconds.
    [Package Manager] Server::Kill -- Server was shutdown
    Cleanup mono


    Update: Deleted the Log, Reopened Unity, and the Cache Server seems to be the problem, With endless lines of Cache Errors

    Update 2: I used the 'Clean Cache' option within the Editor and all is good, problem is gone now
     
    Last edited: Jul 9, 2018
  8. ItsCaveMan

    ItsCaveMan

    Joined:
    Feb 14, 2015
    Posts:
    7
    Yeah! i prefer to keep my builds, but symbol files are quick to get the boot