terrain + vray mat/tyterrain colour map = runaway memory monster
#1
installed latest tyflow version (1.029) max 2024

steps:

terrain presetflow > canyon

add terrain colour (leave @ default)

add terrain mesh (leave @ default)

assign vray mat with tyterrain colour map in diffuse slot (select tyflow as source)

advance 1 frame

watch ram tick up to maximum then max hangs...the crashes.



anyone confirm this or just me?
  Reply
#2
I followed your steps but am unable to repro here...no crash or freeze occurs.

Is a minidump generated when it crashes? Can you send it in, if so?
  Reply
#3
sorry - in the terrain mesh operator "cache all frames"


(12-11-2023, 05:50 PM)joe_coke Wrote: nope, no dump.

but...if i untick "cache all frames" it stops the ram eating & clearing the cache drops it back down.
  Reply
#4
Same result whether or not that option is checked over here - no freeze...
  Reply
#5
I've attached a screen grab (probably not that helpfull), but it doesn't require a terrain colour operator as i originally thought.

Here's the debug from the listener:

Welcome to MAXScript.

State Sets Error: Anchor couldn't be created!
State Sets Error: Anchor couldn't be created!

Boolean modifier menu already installed
Array modifier menu already installed
tyFlow001: [frames: 0-0 (0 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.004s] [stepSim: 0s] [physics: 0s] [buildMesh: 0.00011s]
tyFlow load preset error: pblock paramater ID not found: 5 (visualizeGrid)
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.001s] [stepSim: 7.621s] [physics: 0s] [buildMesh: 0.00007s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.001s] [stepSim: 0.079s] [physics: 0s] [buildMesh: 0.17809s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.032s] [stepSim: 0.129s] [physics: 0s] [buildMesh: 0.18689s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.015s] [stepSim: 0.105s] [physics: 0s] [buildMesh: 0.19904s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.016s] [stepSim: 0.104s] [physics: 0s] [buildMesh: 0.18405s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.007s] [stepSim: 3.16s] [physics: 0s] [buildMesh: 0.18958s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.035s] [stepSim: 0.079s] [physics: 0s] [buildMesh: 0.18799s]
tyFlow001: [frames: 0-21 (2 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.055s] [stepSim: 3.454s] [physics: 0s] [buildMesh: 0.25434s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.03s] [stepSim: 0.078s] [physics: 0s] [buildMesh: 0.22851s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.018s] [stepSim: 0.078s] [physics: 0s] [buildMesh: 0.22656s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.01s] [stepSim: 0.078s] [physics: 0s] [buildMesh: 0.22662s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.036s] [stepSim: 2.776s] [physics: 0s] [buildMesh: 0.21178s]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.01s] [stepSim: 2.816s] [physics: 0s] [buildMesh: 0.20409s]
tyFlow001: [frames: 0-0 (0 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.004s] [stepSim: 0s] [physics: 0s] [buildMesh: 0.00006s]
tyFlow load preset error: pblock paramater ID not found: 5 (visualizeGrid)
tyFlow001: Sim reset notification [event: Cliff] [operator: Birth Terrain] [paramID: 15] [paramName: birthMode] [node: <none>]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain Slope] [paramID: 12501] [paramName: timingInterval] [node: <none>]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain Warp] [paramID: 12501] [paramName: timingInterval] [node: <none>]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain FX] [paramID: 12501] [paramName: timingInterval] [node: <none>]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain FX] [paramID: 12501] [paramName: timingInterval] [node: <none>]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain Erosion] [paramID: 12501] [paramName: timingInterval] [node: <none>]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.032s] [stepSim: 9.853s] [physics: 0s] [buildMesh: 0.00928s]
[SimulateParticles : 9.89535s [1 calls]]
[ResetSimulation : 0.02669s [1 calls]]
[cleanup_physX : 0.00057s [1 calls]]
[cleanup_meshMaster : 0.0008s [1 calls]]
[cleanup_shapeMaster : 0.00044s [1 calls]]
[cleanup_ffxMaster : 0.00041s [1 calls]]
[cleanup_clothMaster : 0.00041s [1 calls]]
[cleanup_actorMaster : 0.00041s [1 calls]]
[ResetSimulation : 0.01953s [1 calls]]
[cleanupRecycledMeshes : 0.00043s [1 calls]]
[resetInstanceRenderer : 0.00041s [1 calls]]
[clearParticleContainer : 0.00042s [1 calls]]
[clearVDBContainer : 0.0004s [1 calls]]
[clearTerrainContainer : 0.00041s [1 calls]]
[initEvents : 0.00041s [1 calls]]
[preallocateParticles : 0.00041s [1 calls]]
[clothMaster : 0.0004s [1 calls]]
[actorMaster : 0.0004s [1 calls]]
[prtMaster : 0.00042s [1 calls]]
[clearEventParticles : 0.0004s [1 calls]]
[clearEventVDBs : 0.0004s [1 calls]]
[clearEventTerrains : 0.00044s [1 calls]]
[getStartTime : 0.0004s [1 calls]]
[operators : 0.0071s [1 calls]]
[Birth Terrain : 0.00041s [1 calls]]
[Terrain Slope : 0.00041s [1 calls]]
[Terrain Warp : 0.00041s [1 calls]]
[Terrain FX : 0.00087s [2 calls]]
[Terrain Erosion : 0.00042s [1 calls]]
[Terrain Display : 0.00135s [1 calls]]
[calcSimValidity : 0.00048s [1 calls]]
[StartSimulation : 0.00367s [1 calls]]
[operators : 0.00287s [1 calls]]
[registerMeshes : 0.0004s [1 calls]]
[registerShapes : 0.0004s [1 calls]]
[registerFFXNodes : 0.0004s [1 calls]]
[StepSimulation : 9.85218s [1 calls]]
[getLastTimestepData : 0.00061s [1 calls]]
[operators : 9.81297s [1 calls]]
[Birth Terrain : 0.00701s [2 calls]]
[PreStepSimulation : 0.00045s [1 calls]]
[MTf: lambda : 0.00196s [1 calls]]
[cacheTerrains : 0.00196s [1 calls]]
[Terrain Slope : 0.03528s [2 calls]]
[PreStepSimulation : 0.00048s [1 calls]]
[MTf: lambda : 0.01239s [1 calls]]
[cacheTerrains : 0.00214s [1 calls]]
[Terrain Warp : 1.29762s [2 calls]]
[PreStepSimulation : 0.00059s [1 calls]]
[MTf: lambda : 1.28977s [1 calls]]
[applyTerrainInterpolation : 0.00061s [1 calls]]
[cacheTerrains : 0.00209s [1 calls]]
[Terrain FX : 5.6341s [4 calls]]
[PreStepSimulation : 0.00127s [2 calls]]
[terrainFX : 5.55885s [2 calls]]
[calculateHeightInterpolation : 0.04405s [2 calls]]
[getTerrainMinMaxHeight : 0.00226s [1 calls]]
[MTf: lambda : 0.00121s [1 calls]]
[MTf: lambda : 0.03594s [2 calls]]
[applyTerrainInterpolation : 0.06275s [2 calls]]
[calculateHeightInterpolation : 0.04387s [2 calls]]
[getTerrainMinMaxHeight : 0.0024s [1 calls]]
[MTf: lambda : 0.00133s [1 calls]]
[MTf: lambda : 0.03851s [2 calls]]
[MTf: lambda : 0.01388s [2 calls]]
[cacheTerrains : 0.00371s [2 calls]]
[Terrain Erosion : 2.8296s [2 calls]]
[PreStepSimulation : 0.00043s [1 calls]]
[applyTerrainInterpolation : 0.00052s [1 calls]]
[cacheTerrains : 0.00191s [1 calls]]
[Terrain Display : 0.00181s [2 calls]]
[PreStepSimulation : 0.00043s [1 calls]]
[clearCollisionFlagsAndSetBindMassMult : 0.0004s [1 calls]]
[operators_simDriverStep : 0.00041s [1 calls]]
[actorMaster_stepSimulation : 0.00041s [1 calls]]
[getNewParticlesLastTimestepData : 0.00042s [1 calls]]
[finalizeParticles : 0.00044s [1 calls]]
[operators_postFinalizeSimulationStep : 0.00622s [1 calls]]
[Birth Terrain : 0.00041s [1 calls]]
[Terrain Slope : 0.00044s [1 calls]]
[Terrain Warp : 0.00043s [1 calls]]
[Terrain FX : 0.0008s [2 calls]]
[Terrain Erosion : 0.00041s [1 calls]]
[Terrain Display : 0.00042s [1 calls]]
[operators_postFinalizeSimulationCleanupStep : 0.00621s [1 calls]]
[Birth Terrain : 0.00046s [1 calls]]
[Terrain Slope : 0.00041s [1 calls]]
[Terrain Warp : 0.0004s [1 calls]]
[Terrain FX : 0.00081s [2 calls]]
[Terrain Erosion : 0.00041s [1 calls]]
[Terrain Display : 0.00041s [1 calls]]
[ageParticles : 0.00042s [1 calls]]
[cacheParticles : 0.00206s [1 calls]]
[cullDeletedParticles : 0.00041s [1 calls]]
[collectCacheParticles : 0.00041s [1 calls]]
[buildMesh : 0.00885s [1 calls]]
[collectParticles : 0.00062s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.00456s [1 calls]]
[joinThreadArrays : 0.00127s [1 calls]]
[countOffsets : 0.00043s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.00041s [1 calls]]
[attachToBaseMesh : 0.0004s [1 calls]]
[recycleMesh : 0.0004s [1 calls]]
[combineCollectedParticles : 0.0004s [1 calls]]
[eliminateDoubledMappingVerts : 0.00041s [1 calls]]
[SimulateParticles : 0.02187s [1 calls]]
[calcSimValidity : 0.00044s [1 calls]]
[StartSimulation : 0.00146s [1 calls]]
[operators : 0.00044s [1 calls]]
[StepSimulation : 0.00841s [1 calls]]
[buildMesh : 0.0087s [1 calls]]
[collectParticles : 0.00046s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.00453s [1 calls]]
[joinThreadArrays : 0.00122s [1 calls]]
[countOffsets : 0.00041s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.0004s [1 calls]]
[attachToBaseMesh : 0.0004s [1 calls]]
[recycleMesh : 0.00043s [1 calls]]
[combineCollectedParticles : 0.00039s [1 calls]]
[eliminateDoubledMappingVerts : 0.00042s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.00829]
[SimulateParticles : 0.01271s [1 calls]]
[collectParticles : 0.00042s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.00448s [1 calls]]
[joinThreadArrays : 0.00122s [1 calls]]
[countOffsets : 0.0004s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.0004s [1 calls]]
[attachToBaseMesh : 0.00039s [1 calls]]
[recycleMesh : 0.0004s [1 calls]]
[combineCollectedParticles : 0.0004s [1 calls]]
[eliminateDoubledMappingVerts : 0.00044s [1 calls]]
[SimulateParticles : 0.02453s [1 calls]]
[calcSimValidity : 0.00086s [1 calls]]
[StartSimulation : 0.0017s [1 calls]]
[operators : 0.00047s [1 calls]]
[StepSimulation : 0.00828s [1 calls]]
[buildMesh : 0.00982s [1 calls]]
[collectParticles : 0.00042s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.00561s [1 calls]]
[joinThreadArrays : 0.00125s [1 calls]]
[countOffsets : 0.00041s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.00042s [1 calls]]
[attachToBaseMesh : 0.00046s [1 calls]]
[recycleMesh : 0.00044s [1 calls]]
[combineCollectedParticles : 0.00042s [1 calls]]
[eliminateDoubledMappingVerts : 0.0004s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.00889]
[SimulateParticles : 0.01313s [1 calls]]
[collectParticles : 0.00064s [1 calls]]
[sortCollectedParticles : 0.00046s [1 calls]]
[attachCombinedMeshes : 0.00462s [1 calls]]
[joinThreadArrays : 0.00129s [1 calls]]
[countOffsets : 0.00041s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.00041s [1 calls]]
[attachToBaseMesh : 0.00042s [1 calls]]
[recycleMesh : 0.00044s [1 calls]]
[combineCollectedParticles : 0.00041s [1 calls]]
[eliminateDoubledMappingVerts : 0.0004s [1 calls]]
tyFlow001: [frames: 0-0 (1 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.032s] [stepSim: 0.125s] [physics: 0s] [buildMesh: 0.1959s]
[SimulateParticles : 0.3542s [1 calls]]
[ResetSimulation : 0.02688s [1 calls]]
[cleanup_physX : 0.00063s [1 calls]]
[cleanup_meshMaster : 0.00044s [1 calls]]
[cleanup_shapeMaster : 0.00042s [1 calls]]
[cleanup_ffxMaster : 0.0004s [1 calls]]
[cleanup_clothMaster : 0.00052s [1 calls]]
[cleanup_actorMaster : 0.00044s [1 calls]]
[ResetSimulation : 0.02058s [1 calls]]
[cleanupRecycledMeshes : 0.00048s [1 calls]]
[resetInstanceRenderer : 0.00059s [1 calls]]
[clearParticleContainer : 0.0004s [1 calls]]
[clearVDBContainer : 0.00041s [1 calls]]
[clearTerrainContainer : 0.00046s [1 calls]]
[initEvents : 0.00041s [1 calls]]
[preallocateParticles : 0.0004s [1 calls]]
[clothMaster : 0.00039s [1 calls]]
[actorMaster : 0.00039s [1 calls]]
[prtMaster : 0.00039s [1 calls]]
[clearEventParticles : 0.00039s [1 calls]]
[clearEventVDBs : 0.00039s [1 calls]]
[clearEventTerrains : 0.00053s [1 calls]]
[getStartTime : 0.00043s [1 calls]]
[operators : 0.00776s [1 calls]]
[Birth Terrain : 0.0004s [1 calls]]
[Terrain Slope : 0.0004s [1 calls]]
[Terrain Warp : 0.0004s [1 calls]]
[Terrain FX : 0.00084s [2 calls]]
[Terrain Erosion : 0.0004s [1 calls]]
[Terrain Mesh : 0.0004s [1 calls]]
[Terrain Display : 0.0013s [1 calls]]
[calcSimValidity : 0.00042s [1 calls]]
[StartSimulation : 0.00358s [1 calls]]
[operators : 0.00277s [1 calls]]
[registerMeshes : 0.00042s [1 calls]]
[registerShapes : 0.0004s [1 calls]]
[registerFFXNodes : 0.00039s [1 calls]]
[StepSimulation : 0.12454s [1 calls]]
[getLastTimestepData : 0.00043s [1 calls]]
[operators : 0.09058s [1 calls]]
[Birth Terrain : 0.0016s [2 calls]]
[PreStepSimulation : 0.00041s [1 calls]]
[Terrain Slope : 0.00159s [2 calls]]
[PreStepSimulation : 0.00039s [1 calls]]
[Terrain Warp : 0.00159s [2 calls]]
[PreStepSimulation : 0.0004s [1 calls]]
[Terrain FX : 0.00328s [4 calls]]
[PreStepSimulation : 0.00084s [2 calls]]
[Terrain Erosion : 0.00163s [2 calls]]
[PreStepSimulation : 0.00045s [1 calls]]
[Terrain Mesh : 0.07204s [2 calls]]
[PreStepSimulation : 0.00039s [1 calls]]
[cacheTerrains : 0.00194s [1 calls]]
[Terrain Display : 0.00174s [2 calls]]
[PreStepSimulation : 0.00041s [1 calls]]
[clearCollisionFlagsAndSetBindMassMult : 0.00039s [1 calls]]
[operators_simDriverStep : 0.00052s [1 calls]]
[actorMaster_stepSimulation : 0.00044s [1 calls]]
[getNewParticlesLastTimestepData : 0.00046s [1 calls]]
[finalizeParticles : 0.00047s [1 calls]]
[operators_postFinalizeSimulationStep : 0.00684s [1 calls]]
[Birth Terrain : 0.00041s [1 calls]]
[Terrain Slope : 0.00039s [1 calls]]
[Terrain Warp : 0.00041s [1 calls]]
[Terrain FX : 0.0008s [2 calls]]
[Terrain Erosion : 0.0004s [1 calls]]
[Terrain Mesh : 0.0004s [1 calls]]
[Terrain Display : 0.0004s [1 calls]]
[operators_postFinalizeSimulationCleanupStep : 0.00692s [1 calls]]
[Birth Terrain : 0.0004s [1 calls]]
[Terrain Slope : 0.0004s [1 calls]]
[Terrain Warp : 0.0004s [1 calls]]
[Terrain FX : 0.00083s [2 calls]]
[Terrain Erosion : 0.00039s [1 calls]]
[Terrain Mesh : 0.00039s [1 calls]]
[Terrain Display : 0.00041s [1 calls]]
[ageParticles : 0.0004s [1 calls]]
[cacheParticles : 0.00202s [1 calls]]
[cullDeletedParticles : 0.0004s [1 calls]]
[collectCacheParticles : 0.0004s [1 calls]]
[buildMesh : 0.19545s [1 calls]]
[collectParticles : 0.0004s [1 calls]]
[sortCollectedParticles : 0.0004s [1 calls]]
[attachCombinedMeshes : 0.18654s [1 calls]]
[joinThreadArrays : 0.00119s [1 calls]]
[countOffsets : 0.00039s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.09731s [1 calls]]
[attachToBaseMesh : 0.06086s [1 calls]]
[MTf: &attachVerts : 0.00973s [1 calls]]
[MTf: &attachFaces : 0.02751s [1 calls]]
[MTf: &attachTFaces : 0.01088s [2 calls]]
[MTf: &attachTVerts : 0.00379s [2 calls]]
[recycleMesh : 0.02508s [1 calls]]
[combineCollectedParticles : 0.00048s [1 calls]]
[eliminateDoubledMappingVerts : 0.00494s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.0041s [1 calls]]
[SimulateParticles : 0.21548s [1 calls]]
[calcSimValidity : 0.00073s [1 calls]]
[StartSimulation : 0.00125s [1 calls]]
[operators : 0.00042s [1 calls]]
[StepSimulation : 0.00842s [1 calls]]
[buildMesh : 0.20146s [1 calls]]
[collectParticles : 0.00051s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.18864s [1 calls]]
[joinThreadArrays : 0.0012s [1 calls]]
[countOffsets : 0.00039s [1 calls]]
[cacheTerrains : 0.0004s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.09791s [1 calls]]
[attachToBaseMesh : 0.06112s [1 calls]]
[MTf: &attachVerts : 0.00952s [1 calls]]
[MTf: &attachFaces : 0.02753s [1 calls]]
[MTf: &attachTFaces : 0.01085s [2 calls]]
[MTf: &attachTVerts : 0.00396s [2 calls]]
[recycleMesh : 0.02521s [1 calls]]
[combineCollectedParticles : 0.00049s [1 calls]]
[eliminateDoubledMappingVerts : 0.0049s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00407s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.20285]
[SimulateParticles : 0.20717s [1 calls]]
[collectParticles : 0.00042s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.18969s [1 calls]]
[joinThreadArrays : 0.00136s [1 calls]]
[countOffsets : 0.00043s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.09922s [1 calls]]
[attachToBaseMesh : 0.06171s [1 calls]]
[MTf: &attachVerts : 0.00967s [1 calls]]
[MTf: &attachFaces : 0.02789s [1 calls]]
[MTf: &attachTFaces : 0.01081s [2 calls]]
[MTf: &attachTVerts : 0.00391s [2 calls]]
[recycleMesh : 0.02525s [1 calls]]
[combineCollectedParticles : 0.00048s [1 calls]]
[eliminateDoubledMappingVerts : 0.00488s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00405s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.22508]
[SimulateParticles : 0.22956s [1 calls]]
[collectParticles : 0.00043s [1 calls]]
[sortCollectedParticles : 0.00043s [1 calls]]
[attachCombinedMeshes : 0.21121s [1 calls]]
[joinThreadArrays : 0.00124s [1 calls]]
[countOffsets : 0.00041s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.09806s [1 calls]]
[attachToBaseMesh : 0.06179s [1 calls]]
[MTf: &attachVerts : 0.00946s [1 calls]]
[MTf: &attachFaces : 0.02788s [1 calls]]
[MTf: &attachTFaces : 0.01093s [2 calls]]
[MTf: &attachTVerts : 0.00397s [2 calls]]
[recycleMesh : 0.02504s [1 calls]]
[combineCollectedParticles : 0.0005s [1 calls]]
[eliminateDoubledMappingVerts : 0.00492s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00407s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0]
[SimulateParticles : 0.00348s [1 calls]]
[SimulateParticles : 0.26857s [1 calls]]
[calcSimValidity : 0.00045s [1 calls]]
[StartSimulation : 0.00126s [1 calls]]
[operators : 0.00041s [1 calls]]
[StepSimulation : 0.01427s [1 calls]]
[buildMesh : 0.24952s [1 calls]]
[collectParticles : 0.00045s [1 calls]]
[sortCollectedParticles : 0.00073s [1 calls]]
[attachCombinedMeshes : 0.21183s [1 calls]]
[joinThreadArrays : 0.00141s [1 calls]]
[countOffsets : 0.00041s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.09794s [1 calls]]
[attachToBaseMesh : 0.06163s [1 calls]]
[MTf: &attachVerts : 0.00947s [1 calls]]
[MTf: &attachFaces : 0.02781s [1 calls]]
[MTf: &attachTFaces : 0.01089s [2 calls]]
[MTf: &attachTVerts : 0.00398s [2 calls]]
[recycleMesh : 0.02486s [1 calls]]
[combineCollectedParticles : 0.00043s [1 calls]]
[eliminateDoubledMappingVerts : 0.00496s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00404s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.26801]
[SimulateParticles : 0.27352s [1 calls]]
[collectParticles : 0.00044s [1 calls]]
[sortCollectedParticles : 0.00067s [1 calls]]
[attachCombinedMeshes : 0.2512s [1 calls]]
[joinThreadArrays : 0.00129s [1 calls]]
[countOffsets : 0.00043s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.10462s [1 calls]]
[attachToBaseMesh : 0.07059s [1 calls]]
[MTf: &attachVerts : 0.01006s [1 calls]]
[MTf: &attachFaces : 0.02885s [1 calls]]
[MTf: &attachTFaces : 0.01445s [2 calls]]
[MTf: &attachTVerts : 0.00414s [2 calls]]
[recycleMesh : 0.04123s [1 calls]]
[combineCollectedParticles : 0.00062s [1 calls]]
[eliminateDoubledMappingVerts : 0.0052s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00429s [1 calls]]
[SimulateParticles : 0.28393s [1 calls]]
[calcSimValidity : 0.00069s [1 calls]]
[StartSimulation : 0.00124s [1 calls]]
[operators : 0.00041s [1 calls]]
[StepSimulation : 0.00968s [1 calls]]
[buildMesh : 0.26957s [1 calls]]
[collectParticles : 0.00053s [1 calls]]
[sortCollectedParticles : 0.00041s [1 calls]]
[attachCombinedMeshes : 0.2255s [1 calls]]
[joinThreadArrays : 0.00119s [1 calls]]
[countOffsets : 0.0004s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.0955s [1 calls]]
[attachToBaseMesh : 0.06349s [1 calls]]
[MTf: &attachVerts : 0.00961s [1 calls]]
[MTf: &attachFaces : 0.02673s [1 calls]]
[MTf: &attachTFaces : 0.01151s [2 calls]]
[MTf: &attachTVerts : 0.00469s [2 calls]]
[recycleMesh : 0.03386s [1 calls]]
[combineCollectedParticles : 0.00043s [1 calls]]
[eliminateDoubledMappingVerts : 0.00537s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00445s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.27781]
[SimulateParticles : 0.28221s [1 calls]]
[collectParticles : 0.00049s [1 calls]]
[sortCollectedParticles : 0.00044s [1 calls]]
[attachCombinedMeshes : 0.26006s [1 calls]]
[joinThreadArrays : 0.0012s [1 calls]]
[countOffsets : 0.0004s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.10865s [1 calls]]
[attachToBaseMesh : 0.07096s [1 calls]]
[MTf: &attachVerts : 0.00991s [1 calls]]
[MTf: &attachFaces : 0.03377s [1 calls]]
[MTf: &attachTFaces : 0.01251s [2 calls]]
[MTf: &attachTVerts : 0.00391s [2 calls]]
[recycleMesh : 0.0388s [1 calls]]
[combineCollectedParticles : 0.00065s [1 calls]]
[eliminateDoubledMappingVerts : 0.00495s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00413s [1 calls]]
[SimulateParticles : 0.40801s [1 calls]]
[calcSimValidity : 0.00061s [1 calls]]
[StartSimulation : 0.00148s [1 calls]]
[operators : 0.00052s [1 calls]]
[StepSimulation : 0.00927s [1 calls]]
[buildMesh : 0.39325s [1 calls]]
[collectParticles : 0.00063s [1 calls]]
[sortCollectedParticles : 0.00068s [1 calls]]
[attachCombinedMeshes : 0.34457s [1 calls]]
[joinThreadArrays : 0.00129s [1 calls]]
[countOffsets : 0.00044s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.13171s [1 calls]]
[attachToBaseMesh : 0.11639s [1 calls]]
[MTf: &attachVerts : 0.03467s [1 calls]]
[MTf: &attachFaces : 0.0285s [1 calls]]
[MTf: &attachTFaces : 0.03653s [2 calls]]
[MTf: &attachTVerts : 0.0044s [2 calls]]
[recycleMesh : 0.06363s [1 calls]]
[combineCollectedParticles : 0.00049s [1 calls]]
[eliminateDoubledMappingVerts : 0.00515s [1 calls]]
[MTf: &eliminiateDoubledMappingVerts : 0.00412s [1 calls]]
tyFlow001: Sim reset notification [event: Cliff] [operator: Terrain Mesh] [paramID: 12] [paramName: cacheFrames] [node: <none>]
tyFlow001: [frames: 0-15 (2 steps)] [particles: (live: 0 | pool: 0 | allocated: 100000)] Time: [startSim: 0.143s] [stepSim: 0.174s] [physics: 0s] [buildMesh: 0.03471s]
[SimulateParticles : 0.35373s [1 calls]]
[ResetSimulation : 0.13787s [1 calls]]
[cleanup_physX : 0.00055s [1 calls]]
[cleanup_meshMaster : 0.00066s [1 calls]]
[cleanup_shapeMaster : 0.00091s [1 calls]]
[cleanup_ffxMaster : 0.00044s [1 calls]]
[cleanup_clothMaster : 0.00122s [1 calls]]
[cleanup_actorMaster : 0.00042s [1 calls]]
[ResetSimulation : 0.13011s [1 calls]]
[cleanupRecycledMeshes : 0.10019s [1 calls]]
[resetInstanceRenderer : 0.00091s [1 calls]]
[clearParticleContainer : 0.001s [1 calls]]
[clearVDBContainer : 0.00054s [1 calls]]
[clearTerrainContainer : 0.00059s [1 calls]]
[initEvents : 0.00047s [1 calls]]
[preallocateParticles : 0.00053s [1 calls]]
[clothMaster : 0.00061s [1 calls]]
[actorMaster : 0.00043s [1 calls]]
[prtMaster : 0.00075s [1 calls]]
[clearEventParticles : 0.00047s [1 calls]]
[clearEventVDBs : 0.0005s [1 calls]]
[clearEventTerrains : 0.00058s [1 calls]]
[getStartTime : 0.00065s [1 calls]]
[operators : 0.01319s [1 calls]]
[Birth Terrain : 0.0005s [1 calls]]
[Terrain Slope : 0.0008s [1 calls]]
[Terrain Warp : 0.00057s [1 calls]]
[Terrain FX : 0.00096s [2 calls]]
[Terrain Erosion : 0.00054s [1 calls]]
[Terrain Mesh : 0.00041s [1 calls]]
[Terrain Display : 0.00524s [1 calls]]
[calcSimValidity : 0.00072s [1 calls]]
[StartSimulation : 0.0039s [1 calls]]
[operators : 0.00298s [1 calls]]
[registerMeshes : 0.00041s [1 calls]]
[registerShapes : 0.00042s [1 calls]]
[registerFFXNodes : 0.0004s [1 calls]]
[StepSimulation : 0.17341s [1 calls]]
[operators : 0.09668s [1 calls]]
[Birth Terrain : 0.00214s [2 calls]]
[PreStepSimulation : 0.00067s [1 calls]]
[Terrain Slope : 0.00168s [2 calls]]
[PreStepSimulation : 0.00046s [1 calls]]
[Terrain Warp : 0.0019s [2 calls]]
[PreStepSimulation : 0.00051s [1 calls]]
[Terrain FX : 0.00357s [4 calls]]
[PreStepSimulation : 0.00091s [2 calls]]
[Terrain Erosion : 0.00186s [2 calls]]
[PreStepSimulation : 0.00045s [1 calls]]
[Terrain Mesh : 0.07589s [2 calls]]
[PreStepSimulation : 0.0004s [1 calls]]
[Terrain Display : 0.00205s [2 calls]]
[PreStepSimulation : 0.0005s [1 calls]]
[clearCollisionFlagsAndSetBindMassMult : 0.0005s [1 calls]]
[operators_simDriverStep : 0.00047s [1 calls]]
[actorMaster_stepSimulation : 0.00056s [1 calls]]
[finalizeParticles : 0.00074s [1 calls]]
[operators_postFinalizeSimulationStep : 0.00686s [1 calls]]
[Birth Terrain : 0.00041s [1 calls]]
[Terrain Slope : 0.00041s [1 calls]]
[Terrain Warp : 0.0004s [1 calls]]
[Terrain FX : 0.00081s [2 calls]]
[Terrain Erosion : 0.00039s [1 calls]]
[Terrain Mesh : 0.00043s [1 calls]]
[Terrain Display : 0.0004s [1 calls]]
[operators_postFinalizeSimulationCleanupStep : 0.01038s [1 calls]]
[Birth Terrain : 0.0004s [1 calls]]
[Terrain Slope : 0.00045s [1 calls]]
[Terrain Warp : 0.00094s [1 calls]]
[Terrain FX : 0.00108s [2 calls]]
[Terrain Erosion : 0.00091s [1 calls]]
[Terrain Mesh : 0.0007s [1 calls]]
[Terrain Display : 0.00065s [1 calls]]
[ageParticles : 0.00073s [1 calls]]
[cacheParticles : 0.00284s [1 calls]]
[cullDeletedParticles : 0.00053s [1 calls]]
[collectCacheParticles : 0.0005s [1 calls]]
[buildMesh : 0.03425s [1 calls]]
[collectParticles : 0.00084s [1 calls]]
[sortCollectedParticles : 0.00068s [1 calls]]
[attachCombinedMeshes : 0.01774s [1 calls]]
[joinThreadArrays : 0.0014s [1 calls]]
[countOffsets : 0.00052s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.0004s [1 calls]]
[attachToBaseMesh : 0.0004s [1 calls]]
[recycleMesh : 0.00048s [1 calls]]
[combineCollectedParticles : 0.00039s [1 calls]]
[eliminateDoubledMappingVerts : 0.0004s [1 calls]]
tyFlow001: [CACHE]: [frame: 0.00] [particleCount: 0] Time: [buildMesh: 0.00956]
[SimulateParticles : 0.01408s [1 calls]]
[collectParticles : 0.00047s [1 calls]]
[sortCollectedParticles : 0.00048s [1 calls]]
[attachCombinedMeshes : 0.00504s [1 calls]]
[joinThreadArrays : 0.00125s [1 calls]]
[countOffsets : 0.0004s [1 calls]]
[combineClothActorTerrainAndVDBMeshes : 0.00043s [1 calls]]
[attachToBaseMesh : 0.00042s [1 calls]]
[recycleMesh : 0.00046s [1 calls]]
[combineCollectedParticles : 0.0004s [1 calls]]
[eliminateDoubledMappingVerts : 0.0004s [1 calls]]


Attached Files Thumbnail(s)
   
  Reply
#6
Ok some further investigating:

The bare minimum for this to occur=

*birth terrain
*terrain mesh

a ty terrain colour map in a material (it doesn't matter what type) linked to a tyflow. The material doesn't have to be assigned to an object, it can sit in the editor.

It seems to me that something is being evaluated every frame and the ram just keeps geting eaten up. Even advancing 1 frame is sluggish.......

***update***
closing the material editor stops this behaviour, so very wierd.

[attachment=3190][attachment=3190]
.max   ram_eating_monster.max (Size: 812 KB / Downloads: 101)
  Reply
#7
Ok great...the material editor being open was the key. I can now repro the issue and will work on getting it fixed. Thanks!
  Reply
#8
(12-12-2023, 02:04 PM)tyFlow Wrote: Ok great...the material editor being open was the key. I can now repro the issue and will work on getting it fixed. Thanks!

cool.
  Reply


Forum Jump: