Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateTimePatternGeneratorCache::CreateGenerator Allocation failed - process out of memory when using icu-data-full version: 76.1 #36852

Open
muadnan opened this issue Dec 13, 2024 · 2 comments

Comments

@muadnan
Copy link

muadnan commented Dec 13, 2024

I am getting following error when ran node application in a docker image which contains:
icu-data-full version: 76.1
Fixed after installing: icu-data-full version: 75.1

Error:


FATAL ERROR: DateTimePatternGeneratorCache::CreateGenerator Allocation failed - process out of memory |  
-- | --
  |   | ----- Native stack trace ----- |  
  |   |   |  
  |   | 1: 0x62141394dc4d node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node] |  
  |   | 2: 0x621413d3e7b4 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node] |  
  |   | 3: 0x621413d3ed22 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node] |  
  |   | 4: 0x6214141c8e05 v8::internal::JSDateTimeFormat::New(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, char const*) [node] |  
  |   | 5: 0x621413ddbf2d v8::internal::Builtin_DateTimeFormatConstructor(int, unsigned long*, v8::internal::Isolate*) [node] |  
  |   | 6: 0x6214148611b6  [node] |  
  |   |   |  
  |   | <--- Last few GCs ---> |  
  |   |   |  
  |   | [7:0x6017079b13a0]      280 ms: Scavenge 23.3 (24.5) -> 22.9 (27.3) MB, 0.52 / 0.00 ms  (average mu = 1.000, current mu = 1.000) allocation failure;
@mkushakov
Copy link

mkushakov commented Dec 13, 2024

I have also issue with new icu and icu-data-full packages of 76.1-r0. When running npm install it is blowing with following error:

#12 [build 5/9] RUN npm ci
#12 1.140 npm error Internal error. Icu error.
#12 1.143 npm error A complete log of this run can be found in: ~/.npm/_logs/2024-12-13T11_21_03_150Z-debug-0.log

But working fine if using version 75.1-r3.

Related to recent upgrade #35274

@mkushakov
Copy link

OK, issue has been fixed by this PR #36864
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants