Too many neighbors , check the configuration

First off, please see the notes about properly formatting quoted input files here:

Does the error happen instantly or after some MD steps?

Your pair style setup seems wrong. The documentation for the ilp/graphene/hbn pair style explicitly states that this is not a standalone pair style, but must be using in addition to a potential for the intra-layer interaction (Tersoff, REBO, etc.).