Getting "Unable to check for available memory." on Oracle DB 18c
Asked Answered
C

10

6

I am trying to create a database in order to complete my self learning, but unfortunately I got unexpected error "Unable to check for available memory.", I am doing it using Database Configuration Assistant (DBCA).

enter image description here

My Oracle Database Version

enter image description here

Condense answered 6/3, 2019 at 9:5 Comment(2)
May be you can try running the dbca as administrator Run as Administrator in Windows or sudo dbca in Linux.Whetstone
I have tried that but no luck happened, still the same errorCondense
V
8

Add the following parameter to bypass the error:

dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false &
Veer answered 14/3, 2019 at 17:9 Comment(3)
hi I will try later and let you know the resultCondense
by the way, could you explain what is the param doing?Condense
DBCA is not able to check the amount of available memory on your system, the parameter above causes the validation checks to be skipped.Veer
H
6

This error as it says, indicate that the "DBCA" can not check for available memory. This happens when "DBCA" does not have permission to check.

To bypass this error, run your Command Prompt as Administrator before lunching "DBCA".

Hazy answered 22/4, 2020 at 16:30 Comment(0)
B
1

Bypass via advanced setup

Run DBCA as admin and work your way through the advanced setup. I think this issue is avoided because it lets you manually enter, or use recommended defaults, for the memory section.

Breannabreanne answered 15/10, 2020 at 16:24 Comment(0)
B
1

If anyone reading is running into the above issue and find that

dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false &

didn't fix it for them, consider launching the advanced configuration setup for a database. (There's a radio button listed on the "Creation Mode" step). Its pretty straight forward and avoids the validation steps. That's how I got around the issue

Borderland answered 12/5, 2021 at 13:5 Comment(0)
R
1

just run using elevated administrator privilege

Revenant answered 15/4 at 17:59 Comment(1)
It worked for me on windows 10.Protomorphic
S
0

On Windows 10, Oracle 19 setup. I installed Oracle without creating a database, because of this memory error.

Then

I ran cmd as administrator

I added "dbca -J-Doracle.assistants.dbca.validate.ConfigurationParams=false &" to the dbca.bat first if statement at the bottom of the file

I switched off all options.

Strictly answered 20/3, 2022 at 17:3 Comment(0)
T
-1

I had the same problem, but when on the second stage of creating a database I select option "pluggable" and enter the name, it works correctly.

Tomb answered 24/10, 2020 at 15:24 Comment(0)
A
-1

Steps: Rename your PC Name Restart and again start installation

Antiar answered 21/1, 2022 at 2:40 Comment(0)
D
-1

I also had this problem. I had previously installed Java 18.0.1.1 X64 bits By removing it and restarting the system, the problem was solved. Apparently, Java should not be installed on the machine before creating the database.

Darkle answered 19/6, 2022 at 6:5 Comment(0)
A
-1

For Me i was facing this issue while doing normal setup for Oracle Database 19c , and renaming your PC name did work for me . the issue can be understand as below -

In my case this was a permissions issue on the Oracle Home directory. If your Windows PC name is >= 16 characters in length, the name of the administrators group is affected, because only the first 15 characters are included. The mismatch between that first part of the name and the full name is what was causing the issue. DESKTOP-ASUS-ROG vs. DESKTOP-ASUS-RO in my case (notice the missing G). I renamed the PC to DESKTOPASUS, restarted the machine, and it worked without issue. The name discrepancy was apparent when looking at the security configuration of the folder when my system name was over max.

You can get your PC name by running hostname from the command line. If it's >= 16 characters, rename the PC to be <= 15 characters, and restart.

The underlying issue is indirectly discussed here in a different context: https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/naming-conventions-for-computer-domain-site-ou

Maximum name length: 15 characters.

Atterbury answered 1/10, 2022 at 2:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.