# TSTrajectorySetMaxUnitsRAM
Set maximum number of checkpointing units in RAM 
## Synopsis
```
#include "petscts.h"  
PetscErrorCode TSTrajectorySetMaxUnitsRAM(TSTrajectory tj, PetscInt max_units_ram)
```
Logically collective


## Input Parameter

- ***tj -*** tstrajectory context



## Output Parameter

- ***max_units_ram -*** maximum number of checkpointing units in RAM





## See Also
 [](chapter_ts), `TSTrajectory`, `TSTrajectorySetMaxCpsRAM()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/trajectory/impls/memory/trajmemory.c.html#TSTrajectorySetMaxUnitsRAM">src/ts/trajectory/impls/memory/trajmemory.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/trajectory/impls/memory/trajmemory.c.html#TSTrajectorySetMaxUnitsRAM_Memory">TSTrajectorySetMaxUnitsRAM_Memory in src/ts/trajectory/impls/memory/trajmemory.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ts/trajectory/impls/memory/trajmemory.c)


[Index of all TS routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
