1
- # heroku-buildpack- jemalloc
1
+ # jemalloc Buildpack
2
2
3
3
[ jemalloc] ( http://jemalloc.net/ ) is a general purpose malloc implementation
4
4
that works to avoid memory fragmentation in multithreaded applications. This
@@ -8,8 +8,14 @@ platforms.
8
8
## Install
9
9
10
10
``` console
11
- heroku buildpacks:add --index 1 https://github.com/gaffneyc/heroku-buildpack-jemalloc.git
12
- git push heroku master
11
+ scalingo env-set BUILDPACK_URL=https://github.com/Scalingo/multi-buildpack.git
12
+ ```
13
+
14
+ And in a ` .buildpacks ` file (example with ruby):
15
+
16
+ ```
17
+ https://github.com/Scalingo/jemalloc-buildpack.git
18
+ https://github.com/Scalingo/ruby-buildpack.git
13
19
```
14
20
15
21
## Usage
@@ -20,7 +26,7 @@ Set the JEMALLOC_ENABLED config option to true and jemalloc will be used for
20
26
all commands run inside of your dynos.
21
27
22
28
``` console
23
- heroku config: set JEMALLOC_ENABLED=true
29
+ scalingo env- set JEMALLOC_ENABLED=true
24
30
```
25
31
26
32
### Per dyno
@@ -40,14 +46,14 @@ web: jemalloc.sh bundle exec puma -C config/puma.rb
40
46
Set this to true to automatically enable jemalloc.
41
47
42
48
` ` ` console
43
- heroku config: set JEMALLOC_ENABLED=true
49
+ scalingo env- set JEMALLOC_ENABLED=true
44
50
```
45
51
46
52
To disable jemalloc set the option to false. This will cause the application to
47
53
restart disabling jemalloc.
48
54
49
55
``` console
50
- heroku config: set JEMALLOC_ENABLED=false
56
+ scalingo env- set JEMALLOC_ENABLED=false
51
57
```
52
58
53
59
### JEMALLOC_VERSION
@@ -62,7 +68,7 @@ mentioning tar if the version does not exist.
62
68
require a code change to be deployed in order to take affect.
63
69
64
70
``` console
65
- heroku config: set JEMALLOC_VERSION=3.6.0
71
+ scalingo env- set JEMALLOC_VERSION=3.6.0
66
72
```
67
73
68
74
#### Available Versions
@@ -80,7 +86,7 @@ heroku config:set JEMALLOC_VERSION=3.6.0
80
86
| 5.1.0 |
81
87
82
88
The complete and most up to date list of supported versions and stacks is
83
- available on the [ releases page.] ( https://github.com/gaffneyc/heroku -buildpack-jemalloc /releases )
89
+ available on the [ releases page.] ( https://github.com/Scalingo/jemalloc -buildpack/releases )
84
90
85
91
## Thanks
86
92
@@ -95,26 +101,26 @@ Get started for free today with [Dead Man's Snitch on Heroku](http://github.com/
95
101
96
102
## Building
97
103
98
- This uses Docker to build against Heroku
99
- [ stack-image] ( https://github. com/heroku/stack-images ) -like images.
104
+ This uses Docker to build against Scalingo
105
+ [ stack-image] ( https://doc.scalingo. com/platform/internals/base-docker-image#top-of-page ) -like images.
100
106
101
107
``` console
102
108
make VERSION=5.1.0
103
109
```
104
110
105
- Artifacts will be dropped in ` dist/ ` based on Heroku stack and jemalloc version.
111
+ Artifacts will be dropped in ` dist/ ` based on Scalingo stack and jemalloc version.
106
112
107
113
### Deploying New Versions
108
114
109
115
- ` make VERSION=X.Y.Z `
110
116
- ` open dist `
111
- - Go to [ releases] ( https://github.com/gaffneyc/heroku -buildpack-jemalloc /releases )
112
- - Edit the release corresponding to each heroku Stack
117
+ - Go to [ releases] ( https://github.com/Scalingo/jemalloc -buildpack/releases )
118
+ - Edit the release corresponding to each scalingo Stack
113
119
- Drag and drop the new build to attach
114
120
115
121
### Creating a New Stack
116
- - Go to [ releases] ( https://github.com/gaffneyc/heroku -buildpack-jemalloc /releases )
122
+ - Go to [ releases] ( https://github.com/Scalingo/jemalloc -buildpack/releases )
117
123
- Click "Draft a new release"
118
- - Tag is the name of the Stack (e.g. ` heroku -18` )
124
+ - Tag is the name of the Stack (e.g. ` scalingo -18` )
119
125
- Target is ` release-master `
120
126
- Title is ` Builds for the [stack] stack `
0 commit comments