Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by GameAnalyticsSDK · Dec 16, 2019 at 08:41 AM · internalleak

Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak

Hi,

We have a lot of users of the GameAnalytics SDK reporting to us that they get the following warning:


 Internal: JobTempAlloc has allocations
 that are more than 4 frames old - this
 is not allowed and likely a leak at
 GameAnalyticsSDK.Events.GA_Debug.HandleLog
 (System.String logString,
 System.String stackTrace,
 UnityEngine.LogType type) <0x00000 +
 0xffffffff> 0 in
 <00000000000000000000000000000000>:0
 at
 UnityEngine.Application+LogCallback.Invoke
 (System.String condition,
 System.String stackTrace,
 UnityEngine.LogType type) <0x00000 +
 0xffffffff> 0 in
 <00000000000000000000000000000000>:0
 at
 UnityEngine.Application.CallLogCallback
 (System.String logString,
 System.String stackTrace,
 UnityEngine.LogType type,
 System.Boolean invokedOnMainThread)
 <0x00000 + 0xffffffff> 0 in
 <00000000000000000000000000000000>:0
 
 To Debug, enable the define:
 TLA_DEBUG_STACK_LEAK in
 ThreadsafeLinearAllocator.cpp. This
 will output the callstacks of the
 leaked allocations at
 GameAnalyticsSDK.Events.GA_Debug.HandleLog
 (System.String logString,
 System.String stackTrace,
 UnityEngine.LogType type) <0x00000 +
 0xffffffff> 0 in
 <00000000000000000000000000000000>:0
 at
 UnityEngine.Application+LogCallback.Invoke
 (System.String condition,
 System.String stackTrace,
 UnityEngine.LogType type) <0x00000 +
 0xffffffff> 0 in
 <00000000000000000000000000000000>:0
 at
 UnityEngine.Application.CallLogCallback
 (System.String logString,
 System.String stackTrace,
 UnityEngine.LogType type,
 System.Boolean invokedOnMainThread)
 <0x00000 + 0xffffffff> 0 in
 <00000000000000000000000000000000>:0


But we can't really reproduce it ourselves. So I want to hear if there are anyone who knows what goes wrong.


Here are links to the source of the files affected: https://raw.githubusercontent.com/GameAnalytics/GA-SDK-UNITY/master/Unity%205/GameAnalytics/Plugins/Scripts/Events/GA_Debug.cs https://raw.githubusercontent.com/GameAnalytics/GA-SDK-UNITY/master/Unity%205/GameAnalytics/Plugins/Scripts/GameAnalytics.cs


Hope someone can help with some tips to how to solve this.


Thanks,
Martin Lead SDK Developer @ GameAnalytics

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kimcatq · Aug 16, 2020 at 05:38 AM 0
Share

I'm also getting a few of these error in my log since 3~4 months ago. It hard to tell what is generating this error. It could be from another system and GA is just reporting it in the log, which make it looks like it's co$$anonymous$$g from GA. At this stage, it only happens when I perform an IAP action. (Currently using Unity SDK v.6.3.0).

Any hints how I can track this down?

     <code>
     (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
     Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
             
     (Filename:  Line: 388)
     To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations
             
     (Filename:  Line: 390)
     2020-08-16 00:14:02.645837+1000 *****[3117:2409367] Info/GA/Analytics: Add ERROR event: {severity:warning, message:Internal: JobTe}
     Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
             
     (Filename:  Line: 388)     
     To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations
             
     (Filename:  Line: 390)
 
 2020-08-16 00:14:02.731105+1000 *****[3117:2409367] Info/GA/Analytics: Add ERROR event: {severity:warning, message:To Debug, enabl}
 2020-08-16 00:14:02.754492+1000 *****[3117:2409367] Info/GA/Analytics: Add ERROR event: {severity:warning, message:Internal: JobTe}
 2020-08-16 00:14:02.771435+1000 *****[3117:2409367] Info/GA/Analytics: Add ERROR event: {severity:warning, message:To Debug, enabl}
 2020-08-16 00:14:02.788463+1000 *****[3117:2409367] Info/GA/Analytics: Add ERROR event: {severity:warning, message:Internal: JobTe}
     </code>
 

 

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kimcatq · Jan 08, 2020 at 12:19 PM

I haven't seen this during development. But I have only seen in my GameAnalytics Dashboard after I launch the game. I also get another warning "To Debug, enable the define TLA_DEBUG_STACK_LEAK, ... at GameAnalyticsSDK.Events.GA_Debug.HandleLog..." I'm not sure what to do with that.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by hmtyzr · May 15, 2020 at 07:43 PM

I had a similar issue even with the latest version of GameAnalytics. After a little bit search, I found that the problem is somehow related to the high fps of the game. I solved it by setting "Vsync Count = Every V Blank". It was "Don't sync" before. Setting "Application.targetFrameRate = 60" might also help.


Spoke too soon. Problem persists.


I finally solved my problem. You can read it here.

https://forum.unity.com/threads/assetbundles-aup-textures-jobtempalloc-has-allocations-that-are-more-than-4-frames-old.774440/#post-5860951

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

118 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to fix these warnings? 1 Answer

unity 3d error importing bone 0 Answers

Where do methods mocked with [WrapperlessIcall] [MethodImpl(MethodImplOptions.InternalCall)] end up? 1 Answer

Memory leaks problem by StaticBatchingUtility.Combine() for AssetBundle 0 Answers

UV mapping tiles on mesh bleeds texture when camera is at certain angle 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges