Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions bin/windows/kafka-server-start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] (
)
IF ["%KAFKA_HEAP_OPTS%"] EQU [""] (
rem detect OS architecture
wmic os get osarchitecture | find /i "32-bit" >nul 2>&1
IF NOT ERRORLEVEL 1 (
IF "%PROCESSOR_ARCHITECTURE%"=="x86" (
rem 32-bit OS
set KAFKA_HEAP_OPTS=-Xmx512M -Xms512M
) ELSE (
Expand Down