# Is \`InMemoryDatasets.create\_sysimage\` documented anywhere?

**URL:** <https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246>\
**Category:** Data\
**Tags:** general, inmemorydatasets\
**Created:** [March 21, 2022, 10:58pm UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246 "2022-03-21T22:58:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xinchin](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Post date:** [March 21, 2022, 10:58pm UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246/1 "2022-03-21T22:58:26Z")

</div>

@sl-solution I see there’s a function in your package (not exported) and I think it is for creating sysimage? is it documented somewhere which I can look at?

---

<div class="post-metadata">

**Author:** ![lawless-m](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lawless-m/32/30869_2.png) [@lawless-m](https://discourse.julialang.org/u/lawless-m)\
**Post date:** [March 22, 2022, 7:16am UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246/2 "2022-03-22T07:16:21Z")

</div>

it doesn’t look too complicated to just read the source code

It has no docstring, so I guess the answer to your question is “no”

[https://github.com/sl-solution/InMemoryDatasets.jl/blob/master/src/precompile/create\_sysimage.jl](https://github.com/sl-solution/InMemoryDatasets.jl/blob/master/src/precompile/create_sysimage.jl)

---

<div class="post-metadata">

**Author:** ![sl-solution](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sl-solution/32/34759_2.png) [@sl-solution](https://discourse.julialang.org/u/sl-solution)\
**Post date:** [March 22, 2022, 7:56am UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246/3 "2022-03-22T07:56:00Z")

</div>

> [@xinchin](#):
>
> @sl-solution I see there’s a function in your package (not exported) and I think it is for creating sysimage? is it documented somewhere which I can look at?

This is an experimental function which I haven’t documented yet. And you are right, it is for creating `sysimage`. just call `IMD.create_sysimage("imd.so")` - or whatever filename that you like the image be called - and the function does the rest.

---

<div class="post-metadata">

**Author:** ![xinchin](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Post date:** [March 25, 2022, 11:00pm UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246/4 "2022-03-25T23:00:12Z")

</div>

I have used the function for creating “imd.so”, it printed some warning messages, though it’s working fine (BTW sysimage makes the TTFP very fast).

```julia
ld: warning: could not create compact unwind for _julia_Dict_16236: stack subq instruction is too different from dwarf stack size
... more ...

```

---

<div class="post-metadata">

**Author:** ![sl-solution](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sl-solution/32/34759_2.png) [@sl-solution](https://discourse.julialang.org/u/sl-solution)\
**Post date:** [March 26, 2022, 11:10am UTC](https://discourse.julialang.org/t/is-inmemorydatasets-create-sysimage-documented-anywhere/78246/5 "2022-03-26T11:10:41Z")

</div>

I think the warning is related to `PackageCompiler`, and I don’t expect it causes any issue, you may ignore it. I cc @kristoffer.carlsson he may add a comment on it.
