Skip to content

OSError: exception: access violation writing 0x0000000000000000 #4912

Description

@beast331

Description

I have a large training dataset (44 million rows, 9 columns). When I pass it into LightGBM and run the fit method, it throws this error.
The code I used is below. It's very short and fairly simple.

Reproducible example

import lightgbm as lbm
model = lbm.LGBMClassifier(learning_rate=0.2,max_depth=-5,random_state=42)
model.fit(X, y, verbose=1)

Environment info

Running a Windows 10 with 8GB ram. Using Anaconda and Jupyter notebook.

LightGBM version or commit hash:
LightGBM version 3.3.1

Command(s) you used to install LightGBM - I used a couple of different commands to try and fix the issue. All install commands were run through Jupyter notebook

!{sys.executable} -m pip install lightgbm
pip install --no-binary :all: lightgbm

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions