Skip to content

Commit

Permalink
build: add max old space size
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Oct 23, 2024
1 parent 03a1336 commit c9c1743
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,18 @@ jobs:
resource_class: large
docker:
- image: cimg/node:18.19
environment:
# This is required to run the tests
NODE_OPTIONS: --max_old_space_size=4096
- image: docker.elastic.co/elasticsearch/elasticsearch:7.9.1
environment:
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
- "discovery.type=single-node"
- "cluster.name=datashare"
ES_JAVA_OPTS: -Xms256m -Xmx256m
discovery.type: single-node
cluster.name: datashare
# CORS
- "http.cors.enabled=true"
- "http.cors.allow-origin=*"
- "http.cors.allow-methods=OPTIONS, HEAD, GET, POST, PUT, DELETE"
http.cors.enabled: "true"
http.cors.allow-origin: "*"
http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE
name: elasticsearch
working_directory: ~/datashare-client
steps:
Expand Down

0 comments on commit c9c1743

Please sign in to comment.