# A brief trip through Spacetime

DevFeed: [A brief trip through Spacetime](<https://devfeed.tech/articles/a-brief-trip-through-spacetime-20142.md>)

Original publisher: [Read original article](<https://blog.janestreet.com/a-brief-trip-through-spacetime/>)

Author: Leo White

Published: 2017-01-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jane Street](<https://devfeed.tech/sources/jane-street.md>)

Topics: [OCaml](<https://devfeed.tech/topics/ocaml.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [memory](<https://devfeed.tech/tags/memory.md>), [ocaml](<https://devfeed.tech/tags/ocaml.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [tool](<https://devfeed.tech/tags/tool.md>)

## AI overview

This tutorial introduces Spacetime, an OCaml memory-profiling facility for finding space leaks and unwanted allocations. It explains how to build and run a Spacetime-enabled compiler, generate and process a profile, and inspect allocation data with the web viewer.

## Source excerpt

Spacetime is a new memory profiling facility for OCaml to help find space leaks and unwanted allocations. Whilst still a little rough around the edges, we've found it to be a very useful tool. Since there's not much documentation for using spacetime beyond this readme, I've written a little intro to give people an idea of how to use it.